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.0008635/0.0008635, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0009023/0.0009023, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.792/1.792, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005468/0.0005469, allocations: 16.34 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2614, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT): time 0.6666/0.9281, allocations: 196.4 MB / 0.9791 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.06608/0.9942, allocations: 58.18 MB / 1.036 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009679/1.004, allocations: 180.3 kB / 1.036 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01047/1.014, allocations: 2.174 MB / 1.038 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.02721/1.042, allocations: 7.685 MB / 1.046 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01297/1.055, allocations: 3.653 MB / 1.049 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02564/1.08, allocations: 20.1 MB / 1.069 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008119/1.089, allocations: 4.321 MB / 1.073 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01609/1.105, allocations: 5.732 MB / 1.079 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009998/1.115, allocations: 4.671 MB / 1.083 GB, free: 13.9 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.002368/1.117, allocations: 264 kB / 1.083 GB, free: 13.64 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/1.131, allocations: 3.134 MB / 1.087 GB, free: 10.5 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002903/1.134, allocations: 1.096 MB / 1.088 GB, free: 9.398 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003785/1.138, allocations: 1.35 MB / 1.089 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0148/1.153, allocations: 8.767 MB / 1.098 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.153, allocations: 0 / 1.098 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.725e-06/1.153, allocations: 3.938 kB / 1.098 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003441/1.153, allocations: 0 / 1.098 GB, free: 15.25 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.0178/1.171, allocations: 6.289 MB / 1.104 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.171, allocations: 8.031 kB / 1.104 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/1.174, allocations: 0.699 MB / 1.104 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/1.191, allocations: 5.855 MB / 1.11 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003803/1.191, allocations: 291.2 kB / 1.11 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/1.193, allocations: 379.9 kB / 1.111 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/1.204, allocations: 4.074 MB / 1.115 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/1.204, allocations: 11.91 kB / 1.115 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008315/1.205, allocations: 152 kB / 1.115 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/1.205, allocations: 99.94 kB / 1.115 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007721/1.213, allocations: 3.12 MB / 1.118 GB, free: 10.02 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.03769/1.251, allocations: 23.43 MB / 1.141 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004399/1.255, allocations: 2.294 MB / 1.143 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002267/1.258, allocations: 1.258 MB / 1.144 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005093/1.263, allocations: 6.386 MB / 1.151 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003912/1.267, allocations: 1.407 MB / 1.152 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=261): time 6.432e-06/1.267, allocations: 0 / 1.152 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=261): time 0.01016/1.277, allocations: 3.661 MB / 1.156 GB, free: 64 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.277, allocations: 103.2 kB / 1.156 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.287, allocations: 4.215 MB / 1.16 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0006907/1.288, allocations: 81.7 kB / 1.16 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002821/1.291, allocations: 2.437 MB / 1.162 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/1.292, allocations: 0.8932 MB / 1.163 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/1.293, allocations: 56 kB / 1.163 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003262/1.293, allocations: 415.8 kB / 1.164 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/1.295, allocations: 1.005 MB / 1.164 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/1.298, allocations: 1.648 MB / 1.166 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/1.301, allocations: 1.258 MB / 1.167 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.674e-05/1.301, allocations: 4 kB / 1.167 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.008885/1.31, allocations: 3.345 MB / 1.171 GB, free: 248 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005914/1.311, allocations: 0.5671 MB / 1.171 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/1.311, allocations: 31.98 kB / 1.171 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.497e-05/1.311, allocations: 28 kB / 1.171 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/1.313, allocations: 0.6085 MB / 1.172 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.337e-05/1.313, allocations: 39.86 kB / 1.172 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005221/1.319, allocations: 489.1 kB / 1.172 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006381/1.319, allocations: 151.9 kB / 1.172 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.319, allocations: 4 kB / 1.172 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006929/1.326, allocations: 2.88 MB / 1.175 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/1.326, allocations: 31.98 kB / 1.175 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.661e-05/1.326, allocations: 36.09 kB / 1.175 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002274/1.329, allocations: 0.6006 MB / 1.176 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.404e-05/1.329, allocations: 43.81 kB / 1.176 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/1.334, allocations: 469.5 kB / 1.176 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006384/1.335, allocations: 143.9 kB / 1.177 GB, free: 9.875 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.003601/1.339, allocations: 1.067 MB / 1.178 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0017/1.34, allocations: 489.9 kB / 1.178 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/1.351, allocations: 4.891 MB / 1.183 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.95e-05/1.351, allocations: 51.92 kB / 1.183 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.293e-05/1.351, allocations: 3.938 kB / 1.183 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005613/1.357, allocations: 3.482 MB / 1.186 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/1.378, allocations: 9.367 MB / 1.195 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.366e-05/1.378, allocations: 19.98 kB / 1.195 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.381, allocations: 0.5269 MB / 1.196 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.905e-05/1.381, allocations: 12 kB / 1.196 GB, free: 5.828 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005023/1.381, allocations: 99.94 kB / 1.196 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.898e-05/1.382, allocations: 16 kB / 1.196 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.382, allocations: 3.938 kB / 1.196 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.397, allocations: 5.931 MB / 1.202 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005303/1.402, allocations: 1.231 MB / 1.203 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/1.405, allocations: 64 kB / 1.203 GB, free: 14.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006012/1.411, allocations: 374.6 kB / 1.203 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/1.412, allocations: 270.2 kB / 1.204 GB, free: 13.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009097/1.413, allocations: 147.9 kB / 1.204 GB, free: 13.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.009436/1.423, allocations: 2.83 MB / 1.207 GB, free: 10.79 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.52e-07/1.423, allocations: 0 / 1.207 GB, free: 10.79 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01853/1.441, allocations: 3.168 MB / 1.21 GB, free: 7.613 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.005851/1.447, allocations: 2.131 MB / 1.212 GB, free: 5.688 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.458, allocations: 5.198 MB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.458, allocations: 4.438 kB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004292/1.463, allocations: 2.265 MB / 1.219 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01421/1.477, allocations: 2.232 MB / 1.221 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/1.502, allocations: 12.19 MB / 1.233 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004216/1.506, allocations: 2.851 MB / 1.236 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.007622/1.513, allocations: 1.444 MB / 1.237 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/1.516, allocations: 479.2 kB / 1.238 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of SimCode: time 1.263e-06/1.516, allocations: 0 / 1.238 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.5952/2.111, allocations: 109.8 MB / 1.345 GB, free: 332.1 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.pipe 2>&1) Environment - environmentSimulation: