Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.267/2.267, allocations: 251.1 MB / 266.7 MB, free: 11.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 184.8 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009671/0.0009671, allocations: 105.9 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004875, allocations: 11.88 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2034, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2226/0.4261, allocations: 146.8 MB / 1.043 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004485/0.4306, allocations: 1.655 MB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/0.4311, allocations: 7.938 kB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.4318, allocations: 107.2 kB / 1.045 GB, free: 12.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.4335, allocations: 380.3 kB / 1.045 GB, free: 12.22 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.4353, allocations: 355.8 kB / 1.045 GB, free: 11.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.4368, allocations: 0.6589 MB / 1.046 GB, free: 11.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.4373, allocations: 144.5 kB / 1.046 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009273/0.4383, allocations: 270.8 kB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.4386, allocations: 143.4 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.4387, allocations: 12 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.4404, allocations: 0.53 MB / 1.047 GB, free: 10.12 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.4405, allocations: 71.78 kB / 1.047 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.4407, allocations: 69.58 kB / 1.047 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000812/0.4415, allocations: 327.5 kB / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.4415, allocations: 0 / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.063e-06/0.4416, allocations: 0 / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.4416, allocations: 0 / 1.047 GB, free: 9.656 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001116/0.4427, allocations: 0.5489 MB / 1.048 GB, free: 9.059 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4428, allocations: 11.97 kB / 1.048 GB, free: 9.047 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004976/0.4433, allocations: 51.67 kB / 1.048 GB, free: 8.996 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.4438, allocations: 289.4 kB / 1.048 GB, free: 8.676 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.4438, allocations: 12 kB / 1.048 GB, free: 8.664 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.4439, allocations: 16 kB / 1.048 GB, free: 8.648 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.4445, allocations: 196.1 kB / 1.048 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4445, allocations: 0 / 1.048 GB, free: 8.441 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.4446, allocations: 4 kB / 1.048 GB, free: 8.438 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4446, allocations: 4 kB / 1.048 GB, free: 8.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.4452, allocations: 147.8 kB / 1.049 GB, free: 8.289 MB / 0.698 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.001579/0.4467, allocations: 0.7847 MB / 1.049 GB, free: 7.434 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.4471, allocations: 94.47 kB / 1.049 GB, free: 7.332 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.4475, allocations: 84.81 kB / 1.05 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00043/0.4479, allocations: 186.2 kB / 1.05 GB, free: 7.027 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.448, allocations: 34.56 kB / 1.05 GB, free: 6.984 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 2.905e-06/0.448, allocations: 4 kB / 1.05 GB, free: 6.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0011/0.4491, allocations: 237.2 kB / 1.05 GB, free: 6.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4491, allocations: 51.41 kB / 1.05 GB, free: 6.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.4496, allocations: 267 kB / 1.05 GB, free: 6.406 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.4496, allocations: 29.7 kB / 1.05 GB, free: 6.371 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4498, allocations: 147.9 kB / 1.05 GB, free: 6.223 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.4498, allocations: 27.56 kB / 1.051 GB, free: 6.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.4498, allocations: 0 / 1.051 GB, free: 6.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.45, allocations: 338.8 kB / 1.051 GB, free: 5.855 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.4502, allocations: 47.91 kB / 1.051 GB, free: 5.809 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.4505, allocations: 97.09 kB / 1.051 GB, free: 5.695 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.4508, allocations: 55.95 kB / 1.051 GB, free: 5.641 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4508, allocations: 4 kB / 1.051 GB, free: 5.637 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006574/0.4515, allocations: 173.2 kB / 1.051 GB, free: 5.461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.373e-05/0.4516, allocations: 111.5 kB / 1.051 GB, free: 5.336 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4516, allocations: 4 kB / 1.051 GB, free: 5.332 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4517, allocations: 0 / 1.051 GB, free: 5.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.4519, allocations: 27.98 kB / 1.051 GB, free: 5.305 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4519, allocations: 0 / 1.051 GB, free: 5.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.4523, allocations: 31.75 kB / 1.051 GB, free: 5.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.4523, allocations: 8 kB / 1.051 GB, free: 5.266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/0.4523, allocations: 6.031 kB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004946/0.4528, allocations: 123.8 kB / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.4529, allocations: 0.5625 kB / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.4529, allocations: 0 / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.4531, allocations: 23.98 kB / 1.052 GB, free: 5.117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.4531, allocations: 0 / 1.052 GB, free: 5.117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.4534, allocations: 31.88 kB / 1.052 GB, free: 5.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.4535, allocations: 12 kB / 1.052 GB, free: 5.074 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002307/0.4537, allocations: 218.1 kB / 1.052 GB, free: 4.852 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.4538, allocations: 23.72 kB / 1.052 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.4544, allocations: 175.3 kB / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4544, allocations: 0 / 1.052 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4545, allocations: 3.938 kB / 1.052 GB, free: 4.645 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.4546, allocations: 108.8 kB / 1.052 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.969e-05/0.4547, allocations: 3.984 kB / 1.052 GB, free: 4.516 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.455, allocations: 15.89 kB / 1.052 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.4551, allocations: 12 kB / 1.052 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006719/0.4558, allocations: 232.8 kB / 1.052 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006485/0.4564, allocations: 326.5 kB / 1.053 GB, free: 3.918 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002409/0.4567, allocations: 56.23 kB / 1.053 GB, free: 3.863 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002995/0.457, allocations: 197.9 kB / 1.053 GB, free: 3.672 MB / 0.698 GB Notification: Performance of Backend: time 6.61e-07/0.457, allocations: 0 / 1.053 GB, free: 3.672 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.4587, allocations: 350.7 kB / 1.053 GB, free: 3.328 MB / 0.698 GB Notification: Performance of SimCode: time 0.002064/0.4608, allocations: 0.9979 MB / 1.054 GB, free: 2.285 MB / 0.698 GB Notification: Performance of Templates: time 0.5982/1.059, allocations: 5.591 MB / 1.06 GB, free: 158.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)