Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009315/0.0009316, allocations: 92.2 kB / 16.66 MB, free: 5.742 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.001014/0.001014, allocations: 179 kB / 17.58 MB, free: 5.477 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.506/1.506, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7088/0.7088, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003637, allocations: 12 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4239, allocations: 77.52 MB / 0.5606 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1938/0.6177, allocations: 166.5 MB / 0.7232 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007176/0.6249, allocations: 4.287 MB / 0.7274 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.626, allocations: 19.88 kB / 0.7274 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.6273, allocations: 302.5 kB / 0.7277 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003/0.6303, allocations: 0.9414 MB / 0.7286 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.6326, allocations: 0.7238 MB / 0.7293 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.635, allocations: 1.794 MB / 0.7311 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008738/0.6359, allocations: 402.4 kB / 0.7314 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.6375, allocations: 0.5913 MB / 0.732 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.639, allocations: 451.2 kB / 0.7325 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.6392, allocations: 20 kB / 0.7325 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.6413, allocations: 1.005 MB / 0.7335 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.6416, allocations: 179.4 kB / 0.7336 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005218/0.6421, allocations: 328.2 kB / 0.7339 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.6434, allocations: 0.8185 MB / 0.7347 GB, free: 500 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6434, allocations: 3.938 kB / 0.7347 GB, free: 496 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6434, allocations: 0 / 0.7347 GB, free: 496 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.6435, allocations: 0 / 0.7347 GB, free: 496 kB / 0.5606 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.001888/0.6454, allocations: 0.8377 MB / 0.7356 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.6454, allocations: 12.03 kB / 0.7356 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.6472, allocations: 290.9 kB / 0.7359 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009676/0.6482, allocations: 485.4 kB / 0.7363 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.6486, allocations: 100.9 kB / 0.7364 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.244e-05/0.6487, allocations: 39.94 kB / 0.7364 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.6501, allocations: 0.6303 MB / 0.7371 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6502, allocations: 0 / 0.7371 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.6502, allocations: 28 kB / 0.7371 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/0.6503, allocations: 24.92 kB / 0.7371 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.6519, allocations: 0.5816 MB / 0.7377 GB, free: 13.36 MB / 0.5762 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.004331/0.6562, allocations: 2.296 MB / 0.7399 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.6574, allocations: 322.2 kB / 0.7402 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006156/0.658, allocations: 193.4 kB / 0.7404 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.658, allocations: 11.97 kB / 0.7404 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.6581, allocations: 30.56 kB / 0.7405 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.934e-06/0.6581, allocations: 4 kB / 0.7405 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.005586/0.6637, allocations: 1.186 MB / 0.7416 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.6638, allocations: 77.11 kB / 0.7417 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008221/0.6646, allocations: 0.5536 MB / 0.7422 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.6647, allocations: 29.7 kB / 0.7423 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.6649, allocations: 303.4 kB / 0.7426 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.665, allocations: 43.45 kB / 0.7426 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.6651, allocations: 25.7 kB / 0.7426 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6653, allocations: 354.8 kB / 0.743 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006856/0.666, allocations: 211.8 kB / 0.7432 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.6667, allocations: 293.2 kB / 0.7434 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.6681, allocations: 455.4 kB / 0.7439 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6681, allocations: 0 / 0.7439 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002957/0.6711, allocations: 0.7824 MB / 0.7446 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6711, allocations: 4 kB / 0.7446 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6711, allocations: 4 kB / 0.7446 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007162/0.6718, allocations: 188.8 kB / 0.7448 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.6723, allocations: 79.88 kB / 0.7449 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.6764, allocations: 2.118 MB / 0.747 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.6772, allocations: 95.33 kB / 0.7471 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.6772, allocations: 15.98 kB / 0.7471 GB, free: 3.305 MB / 0.5762 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.0003536/0.6776, allocations: 190.6 kB / 0.7473 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.6777, allocations: 47.44 kB / 0.7473 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.6779, allocations: 56.03 kB / 0.7474 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6779, allocations: 0 / 0.7474 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6779, allocations: 3.938 kB / 0.7474 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6779, allocations: 0 / 0.7474 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/0.6814, allocations: 1.18 MB / 0.7485 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6814, allocations: 3.938 kB / 0.7485 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.6817, allocations: 55.95 kB / 0.7486 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/0.6823, allocations: 184.7 kB / 0.7487 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.6823, allocations: 8 kB / 0.7488 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3262/1.009, allocations: 2.059 MB / 0.7508 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.009, allocations: 0.7188 kB / 0.7508 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/1.012, allocations: 0.7621 MB / 0.7515 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003104/1.012, allocations: 166.7 kB / 0.7517 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/1.012, allocations: 2.516 kB / 0.7517 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/1.013, allocations: 67.22 kB / 0.7517 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/1.013, allocations: 10.48 kB / 0.7517 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/1.013, allocations: 16.12 kB / 0.7518 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000603/1.014, allocations: 395.2 kB / 0.7521 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/1.014, allocations: 0 / 0.7521 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007738/1.014, allocations: 180.9 kB / 0.7523 GB, free: 172.7 MB / 0.5762 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.0004939/1.015, allocations: 180.2 kB / 0.7525 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001808/1.017, allocations: 0.5609 MB / 0.753 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.017, allocations: 2.781 kB / 0.753 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008119/1.017, allocations: 323.4 kB / 0.7533 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.019, allocations: 297.7 kB / 0.7536 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/1.023, allocations: 1.323 MB / 0.7549 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/1.023, allocations: 0.8608 MB / 0.7558 GB, free: 171 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/1.023, allocations: 43.33 kB / 0.7558 GB, free: 171 MB / 0.5762 GB Notification: Performance of SimCode: time 8.71e-07/1.023, allocations: 0 / 0.7558 GB, free: 171 MB / 0.5762 GB Notification: Performance of Templates: time 0.02425/1.047, allocations: 11.02 MB / 0.7666 GB, free: 169.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)