Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008674/0.0008676, allocations: 99.83 kB / 15.71 MB, free: 452 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.0009875/0.0009878, allocations: 177.6 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 222.7 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.869/1.869, allocations: 292.7 MB / 0.5505 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005436/0.0005437, allocations: 17.94 kB / 0.6744 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3033, allocations: 116.3 MB / 0.7879 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.8354/1.139, allocations: 196.4 MB / 0.9797 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.09135/1.23, allocations: 58.18 MB / 1.037 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01187/1.242, allocations: 182.7 kB / 1.037 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01074/1.253, allocations: 2.172 MB / 1.039 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.03013/1.283, allocations: 7.678 MB / 1.046 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01604/1.299, allocations: 3.656 MB / 1.05 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.03464/1.334, allocations: 20.1 MB / 1.07 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01374/1.348, allocations: 4.315 MB / 1.074 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02073/1.368, allocations: 5.728 MB / 1.079 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01253/1.381, allocations: 4.671 MB / 1.084 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00324/1.384, allocations: 264 kB / 1.084 GB, free: 13.79 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01463/1.399, allocations: 3.122 MB / 1.087 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003609/1.403, allocations: 1.112 MB / 1.088 GB, free: 9.539 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005564/1.408, allocations: 1.346 MB / 1.09 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01734/1.426, allocations: 8.771 MB / 1.098 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/1.426, allocations: 4 kB / 1.098 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/1.426, allocations: 0 / 1.098 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003945/1.426, allocations: 0 / 1.098 GB, free: 15.39 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.02049/1.447, allocations: 6.293 MB / 1.104 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.447, allocations: 8.031 kB / 1.104 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00365/1.45, allocations: 0.7029 MB / 1.105 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/1.469, allocations: 5.855 MB / 1.111 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004805/1.469, allocations: 287.2 kB / 1.111 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/1.471, allocations: 383.9 kB / 1.111 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01226/1.483, allocations: 4.07 MB / 1.115 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/1.483, allocations: 11.84 kB / 1.115 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006787/1.484, allocations: 156 kB / 1.115 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/1.484, allocations: 99.98 kB / 1.116 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006502/1.491, allocations: 3.124 MB / 1.119 GB, free: 10.15 MB / 0.8262 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.03281/1.523, allocations: 23.43 MB / 1.141 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/1.528, allocations: 2.294 MB / 1.144 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/1.53, allocations: 1.254 MB / 1.145 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005134/1.535, allocations: 6.378 MB / 1.151 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002663/1.537, allocations: 1.411 MB / 1.153 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=261): time 5.62e-06/1.537, allocations: 0 / 1.153 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=261): time 0.007283/1.545, allocations: 3.668 MB / 1.156 GB, free: 200 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/1.545, allocations: 107.1 kB / 1.156 GB, free: 76 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/1.552, allocations: 4.212 MB / 1.16 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0006281/1.553, allocations: 81.7 kB / 1.16 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002355/1.555, allocations: 2.437 MB / 1.163 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001388/1.556, allocations: 0.901 MB / 1.164 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/1.556, allocations: 56 kB / 1.164 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002219/1.557, allocations: 411.8 kB / 1.164 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/1.558, allocations: 0.9893 MB / 1.165 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/1.561, allocations: 1.66 MB / 1.167 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/1.563, allocations: 1.25 MB / 1.168 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/1.563, allocations: 4 kB / 1.168 GB, free: 3.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.007043/1.57, allocations: 3.352 MB / 1.171 GB, free: 384 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004546/1.57, allocations: 0.5674 MB / 1.172 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.645e-05/1.57, allocations: 31.98 kB / 1.172 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-05/1.57, allocations: 28 kB / 1.172 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002191/1.573, allocations: 0.6162 MB / 1.172 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.465e-05/1.573, allocations: 39.86 kB / 1.172 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/1.577, allocations: 489.1 kB / 1.173 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003817/1.578, allocations: 143.9 kB / 1.173 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.578, allocations: 7.938 kB / 1.173 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004989/1.583, allocations: 2.88 MB / 1.176 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-05/1.583, allocations: 35.98 kB / 1.176 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/1.583, allocations: 35.98 kB / 1.176 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/1.585, allocations: 0.5968 MB / 1.177 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.556e-05/1.585, allocations: 43.81 kB / 1.177 GB, free: 10.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004951/1.59, allocations: 461.7 kB / 1.177 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/1.591, allocations: 147.9 kB / 1.177 GB, free: 10.01 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003018/1.594, allocations: 1.071 MB / 1.178 GB, free: 8.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/1.595, allocations: 493.8 kB / 1.179 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/1.604, allocations: 4.879 MB / 1.183 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.328e-05/1.605, allocations: 59.91 kB / 1.184 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.605, allocations: 3.938 kB / 1.184 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004889/1.61, allocations: 3.478 MB / 1.187 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/1.627, allocations: 9.367 MB / 1.196 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-05/1.627, allocations: 24.02 kB / 1.196 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.629, allocations: 0.515 MB / 1.197 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.36e-05/1.629, allocations: 15.94 kB / 1.197 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/1.63, allocations: 95.94 kB / 1.197 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.001e-05/1.63, allocations: 20 kB / 1.197 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.63, allocations: 3.938 kB / 1.197 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009612/1.639, allocations: 5.935 MB / 1.203 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003862/1.643, allocations: 1.227 MB / 1.204 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/1.644, allocations: 64 kB / 1.204 GB, free: 14.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003344/1.648, allocations: 371.2 kB / 1.204 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/1.648, allocations: 270.2 kB / 1.204 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003529/1.649, allocations: 147.9 kB / 1.205 GB, free: 13.73 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005287/1.654, allocations: 2.822 MB / 1.207 GB, free: 10.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.5e-07/1.654, allocations: 0 / 1.207 GB, free: 10.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01114/1.665, allocations: 3.172 MB / 1.21 GB, free: 7.75 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (343): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004546/1.67, allocations: 2.156 MB / 1.212 GB, free: 5.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008798/1.678, allocations: 5.194 MB / 1.218 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/1.679, allocations: 4.438 kB / 1.218 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003356/1.682, allocations: 2.254 MB / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01211/1.694, allocations: 2.226 MB / 1.222 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/1.715, allocations: 12.28 MB / 1.234 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/1.719, allocations: 2.835 MB / 1.237 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/1.721, allocations: 0.4992 MB / 1.237 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of SimCode: time 2.174e-06/1.721, allocations: 0 / 1.237 GB, free: 12.2 MB / 0.9512 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 2 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 4 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 7 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 9 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 11 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 13 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 15 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 17 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 19 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 21 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 23 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 25 .