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.00111/0.00111, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 178.2 kB / 16.57 MB, free: 6.855 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.343/1.343, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6532/0.6532, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 8.625 kB / 493 MB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.4034/0.5418, allocations: 143 MB / 0.6965 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005982/0.5478, allocations: 4.111 MB / 0.7005 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.5485, allocations: 19.88 kB / 0.7005 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009556/0.5494, allocations: 318.5 kB / 0.7008 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.552, allocations: 1.001 MB / 0.7018 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.5541, allocations: 0.7766 MB / 0.7026 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001188/0.5553, allocations: 0.7616 MB / 0.7033 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005498/0.5559, allocations: 368.3 kB / 0.7037 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009603/0.5569, allocations: 0.5062 MB / 0.7042 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.5573, allocations: 298.8 kB / 0.7044 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.5574, allocations: 24 kB / 0.7045 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.5586, allocations: 0.6279 MB / 0.7051 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.5588, allocations: 167.5 kB / 0.7052 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.559, allocations: 145.4 kB / 0.7054 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000944/0.5599, allocations: 0.8009 MB / 0.7062 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.56, allocations: 0 / 0.7062 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.56, allocations: 0 / 0.7062 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.56, allocations: 0 / 0.7062 GB, free: 0.9766 MB / 0.5137 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.001468/0.5614, allocations: 0.8461 MB / 0.707 GB, free: 84 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.5615, allocations: 8.031 kB / 0.707 GB, free: 76 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.5632, allocations: 279.1 kB / 0.7073 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000853/0.564, allocations: 481.8 kB / 0.7077 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.5644, allocations: 92.94 kB / 0.7078 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.5645, allocations: 43.94 kB / 0.7079 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.5657, allocations: 0.6302 MB / 0.7085 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5657, allocations: 0 / 0.7085 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.5658, allocations: 16 kB / 0.7085 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.5659, allocations: 32.88 kB / 0.7085 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.5673, allocations: 0.5816 MB / 0.7091 GB, free: 13.88 MB / 0.5294 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.004107/0.5715, allocations: 2.304 MB / 0.7113 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.5725, allocations: 320.8 kB / 0.7116 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.5725, allocations: 0 / 0.7116 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.5725, allocations: 38.56 kB / 0.7117 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.5726, allocations: 0 / 0.7117 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.005445/0.578, allocations: 1.186 MB / 0.7128 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.5781, allocations: 85.11 kB / 0.7129 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.5788, allocations: 0.5418 MB / 0.7134 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.5788, allocations: 29.7 kB / 0.7135 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.5791, allocations: 307.4 kB / 0.7138 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.5791, allocations: 35.48 kB / 0.7138 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.5792, allocations: 8 kB / 0.7138 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5793, allocations: 358.7 kB / 0.7141 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006672/0.58, allocations: 207.8 kB / 0.7143 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/0.5807, allocations: 289.2 kB / 0.7146 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.5814, allocations: 222.5 kB / 0.7148 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5814, allocations: 0 / 0.7148 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002919/0.5843, allocations: 0.7786 MB / 0.7156 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5844, allocations: 4 kB / 0.7156 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5844, allocations: 7.984 kB / 0.7156 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.585, allocations: 188.7 kB / 0.7158 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.5854, allocations: 87.88 kB / 0.7159 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/0.5901, allocations: 2.238 MB / 0.7181 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.5908, allocations: 91.55 kB / 0.7181 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.5908, allocations: 15.98 kB / 0.7182 GB, free: 4.184 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002693/0.5911, allocations: 191.8 kB / 0.7183 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5912, allocations: 51.44 kB / 0.7184 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.5913, allocations: 51.98 kB / 0.7184 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5913, allocations: 4 kB / 0.7184 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.5913, allocations: 4 kB / 0.7184 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5913, allocations: 0 / 0.7184 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.5946, allocations: 1.187 MB / 0.7196 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5946, allocations: 4.062 kB / 0.7196 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.5949, allocations: 43.95 kB / 0.7197 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005421/0.5954, allocations: 192.7 kB / 0.7198 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.5955, allocations: 4 kB / 0.7198 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/0.5991, allocations: 2.117 MB / 0.7219 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5991, allocations: 4.031 kB / 0.7219 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.6018, allocations: 0.7699 MB / 0.7227 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002663/0.6021, allocations: 168.5 kB / 0.7228 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.6021, allocations: 4 kB / 0.7228 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/0.6028, allocations: 64.64 kB / 0.7229 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.6028, allocations: 15.97 kB / 0.7229 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.6029, allocations: 19.94 kB / 0.7229 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004358/0.6033, allocations: 386.8 kB / 0.7233 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6033, allocations: 3.938 kB / 0.7233 GB, free: 14.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006537/0.604, allocations: 187.7 kB / 0.7235 GB, free: 14.47 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003681/0.6044, allocations: 173.5 kB / 0.7236 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002244/0.6066, allocations: 0.6429 MB / 0.7243 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6067, allocations: 4 kB / 0.7243 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007791/0.6074, allocations: 318.9 kB / 0.7246 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.6088, allocations: 289.5 kB / 0.7249 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.6119, allocations: 1.26 MB / 0.7261 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.6124, allocations: 0.8779 MB / 0.7269 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004326/0.6128, allocations: 101.1 kB / 0.727 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.6129, allocations: 39.42 kB / 0.7271 GB, free: 10.71 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.6129, allocations: 0 / 0.7271 GB, free: 10.71 MB / 0.545 GB Notification: Performance of Templates: time 0.01841/0.6314, allocations: 11.34 MB / 0.7381 GB, free: 15.54 MB / 0.5606 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)