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.001002/0.001002, allocations: 104.5 kB / 16.4 MB, free: 6.461 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.0009433/0.0009433, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6845/0.6845, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 65.25 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1414, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4866/0.6281, allocations: 171 MB / 0.799 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005946/0.6341, allocations: 4.274 MB / 0.8032 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.6348, allocations: 24.84 kB / 0.8032 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009314/0.6357, allocations: 350.1 kB / 0.8036 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.6379, allocations: 1.001 MB / 0.8045 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.6397, allocations: 0.8152 MB / 0.8053 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.6409, allocations: 1.293 MB / 0.8066 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005422/0.6415, allocations: 489.8 kB / 0.8071 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.6425, allocations: 0.6792 MB / 0.8077 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008594/0.6434, allocations: 459.1 kB / 0.8082 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.6435, allocations: 50.38 kB / 0.8082 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.6448, allocations: 0.9086 MB / 0.8091 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.645, allocations: 208.8 kB / 0.8093 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.6453, allocations: 330.6 kB / 0.8096 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.6465, allocations: 1.133 MB / 0.8107 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6466, allocations: 0 / 0.8107 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6466, allocations: 0 / 0.8107 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.6466, allocations: 0 / 0.8107 GB, free: 10.41 MB / 0.5919 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.001429/0.648, allocations: 0.9509 MB / 0.8117 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.6481, allocations: 9.875 kB / 0.8117 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.6496, allocations: 263.6 kB / 0.8119 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.6504, allocations: 0.4899 MB / 0.8124 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.6504, allocations: 44.12 kB / 0.8124 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.6505, allocations: 38.81 kB / 0.8125 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.6516, allocations: 0.6071 MB / 0.8131 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.6516, allocations: 3.938 kB / 0.8131 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.6517, allocations: 22.59 kB / 0.8131 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.6517, allocations: 18.91 kB / 0.8131 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.653, allocations: 0.5437 MB / 0.8136 GB, free: 8.93 MB / 0.5919 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.003872/0.6569, allocations: 2.275 MB / 0.8159 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008657/0.6578, allocations: 277.3 kB / 0.8161 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.6583, allocations: 174.1 kB / 0.8163 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.6583, allocations: 0 / 0.8163 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.6584, allocations: 37.31 kB / 0.8163 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.6584, allocations: 224 / 0.8163 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.004783/0.6632, allocations: 1.09 MB / 0.8174 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.6632, allocations: 77.11 kB / 0.8175 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.6639, allocations: 0.5494 MB / 0.818 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.6639, allocations: 31.83 kB / 0.818 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.6642, allocations: 306.7 kB / 0.8183 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.6642, allocations: 40.39 kB / 0.8184 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.6644, allocations: 60.19 kB / 0.8184 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6645, allocations: 363.2 kB / 0.8188 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.6651, allocations: 189.5 kB / 0.819 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/0.6657, allocations: 268.8 kB / 0.8192 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.6668, allocations: 407.1 kB / 0.8196 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6668, allocations: 0 / 0.8196 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002452/0.6693, allocations: 0.7278 MB / 0.8203 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.6693, allocations: 7.844 kB / 0.8203 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6693, allocations: 6.406 kB / 0.8203 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/0.6699, allocations: 177.7 kB / 0.8205 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.6703, allocations: 80.69 kB / 0.8206 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.674, allocations: 2.229 MB / 0.8227 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.6746, allocations: 79.72 kB / 0.8228 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.6746, allocations: 7.688 kB / 0.8228 GB, free: 2.23 MB / 0.5919 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.0002641/0.6749, allocations: 194.9 kB / 0.823 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.675, allocations: 52.06 kB / 0.8231 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.675, allocations: 50.38 kB / 0.8231 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6751, allocations: 3.938 kB / 0.8231 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6751, allocations: 2.094 kB / 0.8231 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6751, allocations: 0 / 0.8231 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.6779, allocations: 1.136 MB / 0.8242 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6779, allocations: 0 / 0.8242 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002165/0.6781, allocations: 37.17 kB / 0.8243 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.6786, allocations: 182.8 kB / 0.8244 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.6787, allocations: 3.406 kB / 0.8244 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003335/0.682, allocations: 2.193 MB / 0.8266 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.682, allocations: 0 / 0.8266 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.6846, allocations: 0.7011 MB / 0.8273 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.6848, allocations: 170 kB / 0.8274 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.6849, allocations: 3.031 kB / 0.8274 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.6855, allocations: 47.64 kB / 0.8275 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.6856, allocations: 22.89 kB / 0.8275 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.6857, allocations: 15.92 kB / 0.8275 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004475/0.6861, allocations: 397.3 kB / 0.8279 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6861, allocations: 0 / 0.8279 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006239/0.6867, allocations: 181.4 kB / 0.8281 GB, free: 14.33 MB / 0.6075 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.0004089/0.6872, allocations: 173.4 kB / 0.8282 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.6887, allocations: 0.5212 MB / 0.8287 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.6887, allocations: 384 / 0.8287 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.6894, allocations: 309.3 kB / 0.829 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.6907, allocations: 297.9 kB / 0.8293 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.6938, allocations: 1.067 MB / 0.8304 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.6943, allocations: 0.858 MB / 0.8312 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003873/0.6947, allocations: 116.9 kB / 0.8313 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.004e-05/0.6948, allocations: 33.06 kB / 0.8313 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.6948, allocations: 0 / 0.8313 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.01912/0.7139, allocations: 12.46 MB / 0.8435 GB, free: 2.551 MB / 0.6075 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)