Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001195/0.001195, allocations: 177.3 kB / 15.95 MB, free: 216 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.804/1.804, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.695/1.695, allocations: 251.9 MB / 0.51 GB, free: 4.809 MB / 414.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.0006055/0.0006058, allocations: 16 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5584, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04376/0.6022, allocations: 38.5 MB / 0.7656 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.62, allocations: 9.826 MB / 0.7752 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.6228, allocations: 47.69 kB / 0.7752 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.6251, allocations: 0.6218 MB / 0.7758 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007168/0.6323, allocations: 1.94 MB / 0.7777 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00471/0.637, allocations: 1.462 MB / 0.7791 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01635/0.6534, allocations: 12 MB / 0.7909 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.6643, allocations: 6.372 MB / 0.7971 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01174/0.6761, allocations: 4.535 MB / 0.8015 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008736/0.6849, allocations: 3.671 MB / 0.8051 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.6868, allocations: 284 kB / 0.8054 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006275/0.6931, allocations: 0.9832 MB / 0.8063 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002671/0.6958, allocations: 1.265 MB / 0.8076 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003808/0.6996, allocations: 1.564 MB / 0.8091 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.7146, allocations: 9.952 MB / 0.8188 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7147, allocations: 7.938 kB / 0.8188 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.006e-06/0.7147, allocations: 0 / 0.8188 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005049/0.7152, allocations: 0 / 0.8188 GB, free: 14.14 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01981/0.735, allocations: 6.602 MB / 0.8253 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.7351, allocations: 12.03 kB / 0.8253 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.7408, allocations: 0.8424 MB / 0.8261 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.7571, allocations: 6.78 MB / 0.8327 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/0.7576, allocations: 415.8 kB / 0.8331 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0015/0.7591, allocations: 0.5115 MB / 0.8336 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.7732, allocations: 7.49 MB / 0.8409 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/0.7734, allocations: 23.78 kB / 0.8409 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005523/0.774, allocations: 220 kB / 0.8412 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/0.7741, allocations: 163.9 kB / 0.8413 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/0.7863, allocations: 6.04 MB / 0.8472 GB, free: 0.5664 MB / 0.6544 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.05539/0.8417, allocations: 29.47 MB / 0.876 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007057/0.8488, allocations: 3.611 MB / 0.8795 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.8501, allocations: 1.006 MB / 0.8805 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.409e-05/0.8502, allocations: 68.55 kB / 0.8806 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=253): time 4.117e-06/0.8502, allocations: 0 / 0.8806 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of matching and sorting (n=253): time 0.0106/0.8608, allocations: 4.652 MB / 0.8851 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.8609, allocations: 81.34 kB / 0.8852 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/0.8777, allocations: 6.565 MB / 0.8916 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/0.8788, allocations: 81.7 kB / 0.8917 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004109/0.883, allocations: 2.944 MB / 0.8945 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001922/0.8849, allocations: 0.9051 MB / 0.8954 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005494/0.8855, allocations: 68 kB / 0.8955 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0004726/0.886, allocations: 449.2 kB / 0.8959 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/0.8897, allocations: 1.615 MB / 0.8975 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004257/0.894, allocations: 2.647 MB / 0.9001 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003966/0.8979, allocations: 2.211 MB / 0.9022 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-05/0.898, allocations: 11.94 kB / 0.9023 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01061/0.9086, allocations: 4.919 MB / 0.9071 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.5196/1.428, allocations: 15.02 MB / 0.9217 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/1.428, allocations: 31.72 kB / 0.9218 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/1.429, allocations: 57.92 kB / 0.9218 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004835/1.433, allocations: 0.8842 MB / 0.9227 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007964/1.434, allocations: 1.245 MB / 0.9239 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/1.442, allocations: 0.6615 MB / 0.9245 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007865/1.443, allocations: 162.3 kB / 0.9247 GB, free: 143 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.443, allocations: 4.031 kB / 0.9247 GB, free: 143 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009588/1.453, allocations: 4.42 MB / 0.929 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.711e-05/1.453, allocations: 31.38 kB / 0.929 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/1.453, allocations: 54 kB / 0.9291 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003653/1.456, allocations: 0.8557 MB / 0.9299 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001426/1.457, allocations: 67.45 kB / 0.93 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.463, allocations: 0.5879 MB / 0.9306 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005041/1.463, allocations: 158.9 kB / 0.9307 GB, free: 142.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006021/1.469, allocations: 2.488 MB / 0.9331 GB, free: 141.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002333/1.472, allocations: 0.5473 MB / 0.9337 GB, free: 141.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/1.478, allocations: 3.893 MB / 0.9375 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/1.478, allocations: 23.72 kB / 0.9375 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.478, allocations: 0 / 0.9375 GB, free: 140 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003939/1.482, allocations: 2.977 MB / 0.9404 GB, free: 138.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/1.499, allocations: 9.808 MB / 0.95 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.499, allocations: 3.875 kB / 0.95 GB, free: 134.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/1.501, allocations: 0.5499 MB / 0.9505 GB, free: 134 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.677e-05/1.501, allocations: 14.03 kB / 0.9505 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/1.501, allocations: 75.95 kB / 0.9506 GB, free: 133.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003966/1.502, allocations: 1.197 MB / 0.9518 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.502, allocations: 0 / 0.9518 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00739/1.509, allocations: 5.734 MB / 0.9574 GB, free: 126.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004756/1.514, allocations: 1.39 MB / 0.9587 GB, free: 125.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/1.516, allocations: 59.98 kB / 0.9588 GB, free: 125.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0043/1.52, allocations: 394 kB / 0.9592 GB, free: 125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002547/1.52, allocations: 153.8 kB / 0.9593 GB, free: 124.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/1.52, allocations: 131.9 kB / 0.9595 GB, free: 124.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.008038/1.529, allocations: 4.679 MB / 0.964 GB, free: 120 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.529, allocations: 0 / 0.964 GB, free: 120 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01915/1.548, allocations: 3.261 MB / 0.9672 GB, free: 116.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * 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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/1.55, allocations: 490.3 kB / 0.9677 GB, free: 116.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01135/1.561, allocations: 5.99 MB / 0.9735 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.561, allocations: 0 / 0.9735 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.564, allocations: 1.591 MB / 0.9751 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02018/1.584, allocations: 3.873 MB / 0.9789 GB, free: 105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03457/1.619, allocations: 15.66 MB / 0.9941 GB, free: 89.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006731/1.625, allocations: 4.622 MB / 0.9987 GB, free: 84.62 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.01234/1.638, allocations: 2.873 MB / 1.001 GB, free: 81.74 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00251/1.64, allocations: 475.2 kB / 1.002 GB, free: 81.28 MB / 0.7169 GB Notification: Performance of SimCode: time 1.252e-06/1.64, allocations: 0 / 1.002 GB, free: 81.28 MB / 0.7169 GB Notification: Performance of Templates: time 0.2142/1.854, allocations: 126.5 MB / 1.125 GB, free: 4.004 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) Environment - environmentSimulation: