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.001366/0.001366, allocations: 122.2 kB / 17.09 MB, free: 5.977 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.00138/0.00138, allocations: 192.7 kB / 18.02 MB, free: 5.059 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.426/1.426, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7557/0.7557, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 59.91 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1687, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6512/0.82, allocations: 171 MB / 0.7997 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007249/0.8273, allocations: 4.286 MB / 0.8039 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.8286, allocations: 24.27 kB / 0.8039 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.8299, allocations: 353.9 kB / 0.8042 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003272/0.8333, allocations: 1.001 MB / 0.8052 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.8359, allocations: 0.8068 MB / 0.806 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.8381, allocations: 1.298 MB / 0.8073 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007891/0.8389, allocations: 484.4 kB / 0.8077 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.8405, allocations: 0.682 MB / 0.8084 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001223/0.8417, allocations: 456 kB / 0.8088 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.8418, allocations: 53.12 kB / 0.8089 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.8438, allocations: 0.9034 MB / 0.8098 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.8441, allocations: 211.8 kB / 0.81 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.8445, allocations: 331.4 kB / 0.8103 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.8463, allocations: 1.132 MB / 0.8114 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8463, allocations: 0 / 0.8114 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8464, allocations: 0 / 0.8114 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.8464, allocations: 0 / 0.8114 GB, free: 10.42 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.001753/0.8481, allocations: 0.9467 MB / 0.8123 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.8482, allocations: 10.09 kB / 0.8123 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.8498, allocations: 270.2 kB / 0.8126 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/0.8507, allocations: 497.4 kB / 0.813 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.8508, allocations: 32.56 kB / 0.8131 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.8509, allocations: 46.84 kB / 0.8131 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.8521, allocations: 0.6143 MB / 0.8137 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.8521, allocations: 0 / 0.8137 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/0.8522, allocations: 18.56 kB / 0.8137 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.685e-05/0.8522, allocations: 33.86 kB / 0.8138 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.8536, allocations: 0.5479 MB / 0.8143 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.003986/0.8576, allocations: 2.263 MB / 0.8165 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/0.8585, allocations: 279.2 kB / 0.8168 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.859, allocations: 169.9 kB / 0.8169 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.859, allocations: 2.719 kB / 0.8169 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.8591, allocations: 42.38 kB / 0.817 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 2.234e-06/0.8591, allocations: 0 / 0.817 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.005021/0.8641, allocations: 1.089 MB / 0.818 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.8642, allocations: 79.67 kB / 0.8181 GB, free: 6.234 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000658/0.8648, allocations: 0.5466 MB / 0.8187 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.8649, allocations: 30.23 kB / 0.8187 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.8651, allocations: 302.1 kB / 0.819 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.8652, allocations: 40.89 kB / 0.819 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.8654, allocations: 64.47 kB / 0.8191 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.8655, allocations: 356.1 kB / 0.8194 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.8661, allocations: 196.8 kB / 0.8196 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.8668, allocations: 261.6 kB / 0.8199 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.8679, allocations: 408 kB / 0.8202 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.8679, allocations: 2.594 kB / 0.8202 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002596/0.8705, allocations: 0.7252 MB / 0.821 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.8705, allocations: 6.969 kB / 0.821 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.8706, allocations: 6.812 kB / 0.821 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006419/0.8712, allocations: 191.6 kB / 0.8211 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.8716, allocations: 71.31 kB / 0.8212 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/0.8755, allocations: 2.235 MB / 0.8234 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.8762, allocations: 69.52 kB / 0.8235 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.8762, allocations: 15.75 kB / 0.8235 GB, free: 2.227 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.0003091/0.8766, allocations: 192.8 kB / 0.8237 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.8767, allocations: 54.69 kB / 0.8237 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.8768, allocations: 54.12 kB / 0.8238 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8768, allocations: 3.938 kB / 0.8238 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.8768, allocations: 0.5625 kB / 0.8238 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8768, allocations: 0 / 0.8238 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.8798, allocations: 1.125 MB / 0.8249 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.8799, allocations: 6.812 kB / 0.8249 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.8801, allocations: 41.52 kB / 0.8249 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/0.8806, allocations: 183.2 kB / 0.8251 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.8807, allocations: 2.531 kB / 0.8251 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003589/0.8843, allocations: 2.197 MB / 0.8272 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8843, allocations: 2.781 kB / 0.8272 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.8867, allocations: 0.6966 MB / 0.8279 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.887, allocations: 159.8 kB / 0.8281 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.8871, allocations: 10.62 kB / 0.8281 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.8877, allocations: 45.91 kB / 0.8281 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.8878, allocations: 20.64 kB / 0.8281 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.8878, allocations: 11.8 kB / 0.8282 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000471/0.8883, allocations: 397 kB / 0.8285 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8883, allocations: 3.938 kB / 0.8285 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000665/0.889, allocations: 182.1 kB / 0.8287 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.0004565/0.8894, allocations: 170.6 kB / 0.8289 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.891, allocations: 0.5252 MB / 0.8294 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.8911, allocations: 2.531 kB / 0.8294 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.8918, allocations: 307.1 kB / 0.8297 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.001394/0.8932, allocations: 303.3 kB / 0.83 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.8963, allocations: 1.104 MB / 0.8311 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.8968, allocations: 0.862 MB / 0.8319 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.8969, allocations: 39.28 kB / 0.8319 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.8969, allocations: 6.781 kB / 0.8319 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.01727/0.9142, allocations: 11.19 MB / 0.8429 GB, free: 3.816 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)