Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.089/2.089, allocations: 288.4 MB / 304.3 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 182.8 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 0.6316 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007119/0.0007119, allocations: 86.31 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 11.62 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2402, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03512/0.2753, allocations: 42.37 MB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01709/0.2925, allocations: 10.68 MB / 1.033 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.2951, allocations: 47.69 kB / 1.033 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001882/0.2971, allocations: 492.8 kB / 1.033 GB, free: 5.664 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006257/0.3033, allocations: 1.851 MB / 1.035 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.3072, allocations: 1.138 MB / 1.036 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02401/0.3313, allocations: 24.81 MB / 1.06 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.343, allocations: 7.284 MB / 1.067 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6067/0.9498, allocations: 5.417 MB / 1.073 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01799/0.9679, allocations: 5.315 MB / 1.078 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003671/0.9716, allocations: 288.2 kB / 1.078 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.9828, allocations: 1.34 MB / 1.079 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005988/0.9889, allocations: 1.344 MB / 1.081 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.01785/1.007, allocations: 3.568 MB / 1.084 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01868/1.026, allocations: 10.27 MB / 1.094 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/1.026, allocations: 3 kB / 1.094 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.807e-06/1.026, allocations: 0 / 1.094 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006111/1.026, allocations: 2.812 kB / 1.094 GB, free: 16.41 MB / 0.6823 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.02391/1.05, allocations: 6.56 MB / 1.101 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/1.05, allocations: 10.86 kB / 1.101 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0069/1.057, allocations: 0.8479 MB / 1.101 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/1.078, allocations: 7.617 MB / 1.109 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007504/1.079, allocations: 420 kB / 1.109 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003405/1.082, allocations: 0.5121 MB / 1.11 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03152/1.114, allocations: 7.634 MB / 1.117 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003131/1.114, allocations: 22.78 kB / 1.117 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002111/1.116, allocations: 226.3 kB / 1.117 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/1.116, allocations: 170.2 kB / 1.118 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/1.134, allocations: 6.037 MB / 1.124 GB, free: 10.18 MB / 0.6823 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.06548/1.2, allocations: 29.26 MB / 1.152 GB, free: 8.875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005817/1.206, allocations: 3.386 MB / 1.155 GB, free: 7.199 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/1.209, allocations: 1.954 MB / 1.157 GB, free: 6.211 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/1.21, allocations: 0.9994 MB / 1.158 GB, free: 5.121 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/1.21, allocations: 76.28 kB / 1.158 GB, free: 5.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 7.745e-06/1.21, allocations: 0 / 1.158 GB, free: 5.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.009467/1.22, allocations: 4.676 MB / 1.163 GB, free: 2.734 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.22, allocations: 76.28 kB / 1.163 GB, free: 2.668 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01546/1.235, allocations: 5.98 MB / 1.169 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001353/1.237, allocations: 81.89 kB / 1.169 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004313/1.241, allocations: 2.944 MB / 1.172 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002384/1.243, allocations: 0.8936 MB / 1.173 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/1.244, allocations: 69.72 kB / 1.173 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003333/1.244, allocations: 448.1 kB / 1.173 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002928/1.247, allocations: 1.623 MB / 1.175 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/1.251, allocations: 2.666 MB / 1.177 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007079/1.258, allocations: 4.589 MB / 1.182 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-05/1.258, allocations: 12 kB / 1.182 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.0106/1.269, allocations: 4.93 MB / 1.187 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009/1.27, allocations: 1.032 MB / 1.188 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-05/1.27, allocations: 35.94 kB / 1.188 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-05/1.27, allocations: 52 kB / 1.188 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/1.273, allocations: 0.806 MB / 1.189 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009833/1.274, allocations: 1.254 MB / 1.19 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007626/1.282, allocations: 0.6124 MB / 1.19 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008365/1.283, allocations: 160 kB / 1.191 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.283, allocations: 4 kB / 1.191 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008212/1.291, allocations: 4.427 MB / 1.195 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.976e-05/1.291, allocations: 36.98 kB / 1.195 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.867e-05/1.291, allocations: 48 kB / 1.195 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/1.294, allocations: 0.7925 MB / 1.196 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.391e-05/1.294, allocations: 68.34 kB / 1.196 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007448/1.302, allocations: 0.5468 MB / 1.196 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007974/1.302, allocations: 160 kB / 1.196 GB, free: 3.316 MB / 0.7292 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.008024/1.31, allocations: 2.498 MB / 1.199 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002614/1.313, allocations: 0.5481 MB / 1.199 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008127/1.321, allocations: 3.896 MB / 1.203 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004511/1.326, allocations: 2.982 MB / 1.206 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.326, allocations: 0 / 1.206 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005901/1.332, allocations: 1.332 MB / 1.207 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002943/1.335, allocations: 63.98 kB / 1.208 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006753/1.341, allocations: 343 kB / 1.208 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005239/1.342, allocations: 152.5 kB / 1.208 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007649/1.35, allocations: 3.848 MB / 1.212 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01175/1.361, allocations: 6.196 MB / 1.218 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002524/1.364, allocations: 1.652 MB / 1.219 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01093/1.375, allocations: 4.207 MB / 1.224 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of Backend: time 1.393e-06/1.375, allocations: 0 / 1.224 GB, free: 7.434 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01882/1.394, allocations: 5.254 MB / 1.229 GB, free: 2.426 MB / 0.7605 GB Notification: Performance of SimCode: time 0.04444/1.438, allocations: 18.19 MB / 1.246 GB, free: 268 kB / 0.7761 GB Notification: Performance of Templates: time 0.2407/1.679, allocations: 136.2 MB / 1.379 GB, free: 8.785 MB / 0.9167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)