Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BuriedPipes.Examples.DiscretizedBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 110.8 kB / 16.42 MB, free: 6.441 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.00131/0.00131, allocations: 190.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.648/2.648, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 76.09 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.101, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe): time 0.1222/1.224, allocations: 130.1 MB / 1.335 GB, free: 11.1 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.05077/1.274, allocations: 32.06 MB / 1.367 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007394/1.282, allocations: 139.2 kB / 1.367 GB, free: 10.82 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006988/1.289, allocations: 1.712 MB / 1.369 GB, free: 9.102 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01962/1.309, allocations: 5.197 MB / 1.374 GB, free: 3.883 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01057/1.319, allocations: 3.372 MB / 1.377 GB, free: 0.5234 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.07108/1.39, allocations: 44.51 MB / 1.42 GB, free: 3.898 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04043/1.431, allocations: 19.05 MB / 1.439 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04399/1.475, allocations: 15.2 MB / 1.454 GB, free: 1.535 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02905/1.504, allocations: 12.13 MB / 1.466 GB, free: 5.355 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.007718/1.512, allocations: 1.789 MB / 1.467 GB, free: 3.566 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02056/1.532, allocations: 4.511 MB / 1.472 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.01112/1.543, allocations: 4.124 MB / 1.476 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.02875/1.572, allocations: 9.08 MB / 1.485 GB, free: 1.797 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.04838/1.621, allocations: 27.47 MB / 1.512 GB, free: 6.254 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.621, allocations: 0 / 1.512 GB, free: 6.254 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.194e-06/1.621, allocations: 0 / 1.512 GB, free: 6.254 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.001029/1.622, allocations: 0 / 1.512 GB, free: 6.254 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2245 * Number of variables: 2245 Notification: Performance of Generate backend data structure: time 0.06616/1.688, allocations: 16.45 MB / 1.528 GB, free: 5.668 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/1.688, allocations: 8.031 kB / 1.528 GB, free: 5.66 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01148/1.7, allocations: 1.618 MB / 1.529 GB, free: 4.023 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04002/1.74, allocations: 16.09 MB / 1.545 GB, free: 3.832 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000857/1.74, allocations: 0.6497 MB / 1.546 GB, free: 3.18 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004961/1.745, allocations: 0.8786 MB / 1.546 GB, free: 2.301 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/1.788, allocations: 13.71 MB / 1.56 GB, free: 4.242 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004195/1.788, allocations: 31.78 kB / 1.56 GB, free: 4.211 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003198/1.791, allocations: 372 kB / 1.56 GB, free: 3.848 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003138/1.792, allocations: 271.9 kB / 1.56 GB, free: 3.582 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.548/3.34, allocations: 11.29 MB / 1.571 GB, free: 317 MB / 1.279 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.09958/3.439, allocations: 65.26 MB / 1.635 GB, free: 266.4 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009355/3.449, allocations: 5.25 MB / 1.64 GB, free: 262 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004991/3.454, allocations: 3.358 MB / 1.644 GB, free: 258.6 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/3.456, allocations: 3.21 MB / 1.647 GB, free: 254.7 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/3.456, allocations: 103 kB / 1.647 GB, free: 254.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=512): time 8.857e-06/3.456, allocations: 2.344 kB / 1.647 GB, free: 254.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=512): time 0.03468/3.491, allocations: 13.38 MB / 1.66 GB, free: 241 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/3.491, allocations: 106 kB / 1.66 GB, free: 240.9 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02605/3.517, allocations: 14.01 MB / 1.674 GB, free: 227 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001628/3.519, allocations: 133.5 kB / 1.674 GB, free: 226.8 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.006453/3.525, allocations: 5.992 MB / 1.68 GB, free: 220.9 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003365/3.529, allocations: 1.815 MB / 1.681 GB, free: 219.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00251/3.531, allocations: 1.377 MB / 1.683 GB, free: 217.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.059e-05/3.531, allocations: 303.7 kB / 1.683 GB, free: 217.4 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00461/3.536, allocations: 3.223 MB / 1.686 GB, free: 214.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006091/3.542, allocations: 5.192 MB / 1.691 GB, free: 208.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/3.554, allocations: 9.042 MB / 1.7 GB, free: 198.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.871e-05/3.555, allocations: 16 kB / 1.7 GB, free: 198.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.02733/3.582, allocations: 11.65 MB / 1.712 GB, free: 186.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/3.582, allocations: 32 kB / 1.712 GB, free: 186.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/3.582, allocations: 91.97 kB / 1.712 GB, free: 186.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008299/3.591, allocations: 2.414 MB / 1.714 GB, free: 183.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00464/3.595, allocations: 1.33 MB / 1.715 GB, free: 182.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/3.601, allocations: 9.048 MB / 1.724 GB, free: 173.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/3.611, allocations: 0.9138 MB / 1.725 GB, free: 172.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/3.613, allocations: 363.9 kB / 1.725 GB, free: 172 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01256/3.625, allocations: 7.777 MB / 1.733 GB, free: 164.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006368/3.632, allocations: 5.184 MB / 1.738 GB, free: 158.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0141/3.646, allocations: 9.038 MB / 1.747 GB, free: 148.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.424e-05/3.646, allocations: 20 kB / 1.747 GB, free: 148.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=865) (initialization_lambda0): time 0.02863/3.674, allocations: 11.65 MB / 1.758 GB, free: 136.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/3.675, allocations: 32 kB / 1.758 GB, free: 136.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002807/3.675, allocations: 91.97 kB / 1.758 GB, free: 136.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008483/3.683, allocations: 2.418 MB / 1.761 GB, free: 133.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004894/3.688, allocations: 1.326 MB / 1.762 GB, free: 132.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/3.694, allocations: 9.044 MB / 1.771 GB, free: 123.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/3.704, allocations: 0.7098 MB / 1.772 GB, free: 122.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/3.706, allocations: 359.9 kB / 1.772 GB, free: 122.1 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * 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 (781): * Single equations (assignments): 745 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001839/3.708, allocations: 0.5919 MB / 1.772 GB, free: 121.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004075/3.712, allocations: 1.142 MB / 1.774 GB, free: 120.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02531/3.737, allocations: 12.71 MB / 1.786 GB, free: 107.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01612/3.753, allocations: 9.039 MB / 1.795 GB, free: 98.55 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002309/3.754, allocations: 35.97 kB / 1.795 GB, free: 98.52 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007387/3.761, allocations: 2.816 MB / 1.798 GB, free: 95.67 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003923/3.765, allocations: 148 kB / 1.798 GB, free: 95.52 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008758/3.774, allocations: 391.2 kB / 1.798 GB, free: 95.14 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002105/3.776, allocations: 0.7694 MB / 1.799 GB, free: 94.37 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01924/3.795, allocations: 10.33 MB / 1.809 GB, free: 84.09 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02239/3.818, allocations: 14.44 MB / 1.823 GB, free: 69.54 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005776/3.823, allocations: 4.191 MB / 1.827 GB, free: 65.33 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01808/3.842, allocations: 9.956 MB / 1.837 GB, free: 55.42 MB / 1.279 GB Notification: Performance of Backend: time 1.533e-06/3.842, allocations: 0 / 1.837 GB, free: 55.42 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02878/3.87, allocations: 12.16 MB / 1.849 GB, free: 43.12 MB / 1.279 GB Notification: Performance of SimCode: time 0.06962/3.94, allocations: 33.85 MB / 1.882 GB, free: 9.281 MB / 1.279 GB Notification: Performance of Templates: time 1.229/5.169, allocations: 296.7 MB / 2.172 GB, free: 0.5153 GB / 1.529 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.DiscretizedBuriedPipe.pipe 2>&1)