Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005422/0.005422, allocations: 103.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 297.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 99.86 kB / 0.6814 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.4513, allocations: 86.97 MB / 0.7664 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1855/0.6368, allocations: 171 MB / 0.9333 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00654/0.6434, allocations: 4.29 MB / 0.9375 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000736/0.6442, allocations: 23.88 kB / 0.9376 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009625/0.6451, allocations: 346 kB / 0.9379 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.6477, allocations: 0.9993 MB / 0.9389 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.6498, allocations: 0.8165 MB / 0.9397 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001624/0.6514, allocations: 1.307 MB / 0.9409 GB, free: 248 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006498/0.6521, allocations: 479.3 kB / 0.9414 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.6534, allocations: 0.6796 MB / 0.9421 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.6546, allocations: 444.9 kB / 0.9425 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.6547, allocations: 52 kB / 0.9425 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.6567, allocations: 0.9121 MB / 0.9434 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.657, allocations: 219.4 kB / 0.9436 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003576/0.6573, allocations: 330.5 kB / 0.9439 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.659, allocations: 1.137 MB / 0.945 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.659, allocations: 0 / 0.945 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/0.659, allocations: 4 kB / 0.9451 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.659, allocations: 0 / 0.9451 GB, free: 12.01 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001588/0.6606, allocations: 0.9428 MB / 0.946 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6606, allocations: 12.03 kB / 0.946 GB, free: 11 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.6622, allocations: 255 kB / 0.9462 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.6631, allocations: 0.4974 MB / 0.9467 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.6631, allocations: 29 kB / 0.9467 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.155e-05/0.6632, allocations: 40 kB / 0.9468 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6643, allocations: 0.6263 MB / 0.9474 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6643, allocations: 0 / 0.9474 GB, free: 9.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.6644, allocations: 16 kB / 0.9474 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.6644, allocations: 24.98 kB / 0.9474 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.6657, allocations: 0.5464 MB / 0.948 GB, free: 8.91 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.6694, allocations: 2.257 MB / 0.9502 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.6703, allocations: 286.3 kB / 0.9504 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.6708, allocations: 164.7 kB / 0.9506 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.6708, allocations: 3.938 kB / 0.9506 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6708, allocations: 42.55 kB / 0.9506 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.903e-06/0.6708, allocations: 3.938 kB / 0.9506 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.004959/0.6758, allocations: 1.084 MB / 0.9517 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.6759, allocations: 81.11 kB / 0.9518 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.6768, allocations: 0.5573 MB / 0.9523 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/0.6769, allocations: 33.7 kB / 0.9524 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.6772, allocations: 299.5 kB / 0.9526 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.6772, allocations: 39.45 kB / 0.9527 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.6774, allocations: 57.61 kB / 0.9527 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6775, allocations: 358.8 kB / 0.9531 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/0.6781, allocations: 187.8 kB / 0.9533 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.6787, allocations: 269.7 kB / 0.9535 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.6798, allocations: 406.7 kB / 0.9539 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6798, allocations: 0 / 0.9539 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002748/0.6826, allocations: 0.7338 MB / 0.9546 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6826, allocations: 4 kB / 0.9546 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6826, allocations: 4 kB / 0.9546 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/0.6833, allocations: 180.8 kB / 0.9548 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.6836, allocations: 71.88 kB / 0.9549 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3663/1.05, allocations: 2.223 MB / 0.957 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006769/1.051, allocations: 73.97 kB / 0.9571 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/1.051, allocations: 11.5 kB / 0.9571 GB, free: 189.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002981/1.051, allocations: 189.7 kB / 0.9573 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.051, allocations: 52.11 kB / 0.9574 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/1.051, allocations: 57.84 kB / 0.9574 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.051, allocations: 1.031 kB / 0.9574 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.051, allocations: 1.25 kB / 0.9574 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/1.051, allocations: 1.297 kB / 0.9574 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/1.055, allocations: 1.129 MB / 0.9585 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/1.055, allocations: 1.828 kB / 0.9585 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/1.055, allocations: 39.56 kB / 0.9586 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005781/1.055, allocations: 194.3 kB / 0.9587 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/1.055, allocations: 4.703 kB / 0.9587 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/1.059, allocations: 2.18 MB / 0.9609 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.059, allocations: 1.625 kB / 0.9609 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/1.061, allocations: 0.7019 MB / 0.9616 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/1.061, allocations: 170.6 kB / 0.9617 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.117e-05/1.062, allocations: 3.641 kB / 0.9617 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/1.062, allocations: 49.25 kB / 0.9618 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/1.062, allocations: 12.98 kB / 0.9618 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/1.062, allocations: 19.69 kB / 0.9618 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004441/1.063, allocations: 399.2 kB / 0.9622 GB, free: 187 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.01e-07/1.063, allocations: 0 / 0.9622 GB, free: 187 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006405/1.063, allocations: 182 kB / 0.9624 GB, free: 187 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003817/1.064, allocations: 176 kB / 0.9625 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001465/1.065, allocations: 0.5219 MB / 0.963 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.065, allocations: 2.625 kB / 0.963 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/1.066, allocations: 300.9 kB / 0.9633 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.067, allocations: 311.6 kB / 0.9636 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/1.07, allocations: 1.066 MB / 0.9647 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/1.071, allocations: 0.8621 MB / 0.9655 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004006/1.071, allocations: 98.88 kB / 0.9656 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/1.071, allocations: 40.36 kB / 0.9656 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/1.071, allocations: 1.438 kB / 0.9656 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.01704/1.088, allocations: 12.7 MB / 0.978 GB, free: 176.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)