Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.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.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001588/0.001588, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 283.2 kB / 291.5 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.9467/0.9467, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4711, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir): time 0.7577/1.229, allocations: 310.2 MB / 1.07 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03551/1.264, allocations: 26.57 MB / 1.096 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004756/1.269, allocations: 127.9 kB / 1.096 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004414/1.274, allocations: 1.711 MB / 1.098 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01529/1.289, allocations: 5.846 MB / 1.103 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0106/1.3, allocations: 3.747 MB / 1.107 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01212/1.312, allocations: 8.697 MB / 1.116 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005046/1.317, allocations: 2.991 MB / 1.119 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/1.327, allocations: 3.833 MB / 1.122 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006736/1.334, allocations: 2.523 MB / 1.125 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001869/1.336, allocations: 348 kB / 1.125 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/1.35, allocations: 5.169 MB / 1.13 GB, free: 5.238 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002284/1.352, allocations: 1.114 MB / 1.131 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.005122/1.358, allocations: 1.921 MB / 1.133 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01607/1.374, allocations: 6.88 MB / 1.14 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.374, allocations: 4 kB / 1.14 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/1.374, allocations: 0 / 1.14 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001684/1.374, allocations: 0 / 1.14 GB, free: 11.29 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.009503/1.383, allocations: 3.915 MB / 1.144 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.383, allocations: 8.031 kB / 1.144 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/1.389, allocations: 0.8193 MB / 1.144 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005848/1.395, allocations: 2.583 MB / 1.147 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/1.395, allocations: 160.2 kB / 1.147 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005427/1.396, allocations: 223.9 kB / 1.147 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005254/1.401, allocations: 2.55 MB / 1.15 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.024e-05/1.401, allocations: 7.938 kB / 1.15 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/1.401, allocations: 88 kB / 1.15 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.856e-05/1.401, allocations: 88.11 kB / 1.15 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003806/1.405, allocations: 2.026 MB / 1.152 GB, free: 14.54 MB / 0.795 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.0158/1.421, allocations: 12.36 MB / 1.164 GB, free: 1.176 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/1.423, allocations: 1.494 MB / 1.166 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.425, allocations: 0.7702 MB / 1.166 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/1.426, allocations: 1.975 MB / 1.168 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/1.426, allocations: 53.14 kB / 1.168 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=150): time 3.908e-06/1.427, allocations: 0 / 1.168 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=152): time 0.01168/1.438, allocations: 4.993 MB / 1.173 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.438, allocations: 72.72 kB / 1.173 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/1.442, allocations: 2.105 MB / 1.175 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001461/1.442, allocations: 53.7 kB / 1.175 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000981/1.443, allocations: 1.259 MB / 1.177 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/1.443, allocations: 0.5275 MB / 1.177 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004753/1.444, allocations: 303.4 kB / 1.177 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.444, allocations: 313.1 kB / 1.178 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.445, allocations: 0.606 MB / 1.178 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/1.446, allocations: 0.9702 MB / 1.179 GB, free: 0.8828 MB / 0.8106 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01893/1.465, allocations: 5.186 MB / 1.184 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/1.465, allocations: 4 kB / 1.184 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004622/1.47, allocations: 2.112 MB / 1.186 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.47, allocations: 8 kB / 1.186 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/1.47, allocations: 16 kB / 1.186 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/1.471, allocations: 213.7 kB / 1.187 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.472, allocations: 355.4 kB / 1.187 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/1.474, allocations: 1.773 MB / 1.189 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/1.476, allocations: 72.02 kB / 1.189 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.476, allocations: 79.98 kB / 1.189 GB, free: 6.828 MB / 0.8262 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002116/1.478, allocations: 1.138 MB / 1.19 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001318/1.479, allocations: 0.9702 MB / 1.191 GB, free: 4.578 MB / 0.8262 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start (sin1.p = duc.vol_b.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0184/1.498, allocations: 5.156 MB / 1.196 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.608e-06/1.498, allocations: 0 / 1.196 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.004569/1.502, allocations: 2.104 MB / 1.198 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/1.503, allocations: 12 kB / 1.198 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.149e-05/1.503, allocations: 12 kB / 1.198 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009463/1.504, allocations: 218 kB / 1.198 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.505, allocations: 343.5 kB / 1.198 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008883/1.506, allocations: 1.187 MB / 1.2 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.508, allocations: 79.98 kB / 1.2 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/1.508, allocations: 75.98 kB / 1.2 GB, free: 11.18 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: duc.vol_b.dynBal.medium.p = duc.vol_b.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (196): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004694/1.508, allocations: 287.1 kB / 1.2 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007252/1.509, allocations: 260.8 kB / 1.2 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/1.514, allocations: 2.355 MB / 1.203 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003399/1.517, allocations: 2.088 MB / 1.205 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/1.517, allocations: 15.98 kB / 1.205 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.519, allocations: 0.5328 MB / 1.205 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004969/1.519, allocations: 35.94 kB / 1.205 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.521, allocations: 62.59 kB / 1.205 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/1.521, allocations: 145.8 kB / 1.205 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004471/1.525, allocations: 2.13 MB / 1.207 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004566/1.53, allocations: 3.028 MB / 1.21 GB, free: 96 kB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001205/1.531, allocations: 0.8316 MB / 1.211 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002604/1.534, allocations: 1.433 MB / 1.213 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of Backend: time 3.51e-07/1.534, allocations: 0 / 1.213 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00868/1.543, allocations: 3.558 MB / 1.216 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of SimCode: time 0.01367/1.556, allocations: 6.671 MB / 1.223 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of Templates: time 0.109/1.665, allocations: 71.23 MB / 1.292 GB, free: 13.04 MB / 0.9356 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.TransportWaterAir.pipe 2>&1)