Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.SingleBuriedPipe,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.SingleBuriedPipe") translateModel(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe,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.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007154/0.007154, allocations: 99.67 kB / 15.73 MB, free: 6.059 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.001248/0.001248, allocations: 192.1 kB / 16.67 MB, free: 5.969 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.84 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4403, allocations: 159.9 MB / 1.226 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe): time 1.101/1.541, allocations: 118.5 MB / 1.341 GB, free: 3.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0458/1.587, allocations: 27.88 MB / 1.369 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00698/1.594, allocations: 132 kB / 1.369 GB, free: 15.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005783/1.6, allocations: 1.523 MB / 1.37 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0183/1.618, allocations: 4.605 MB / 1.375 GB, free: 10.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01092/1.629, allocations: 3.127 MB / 1.378 GB, free: 8.117 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01425/1.643, allocations: 8.481 MB / 1.386 GB, free: 3.117 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005234/1.648, allocations: 2.668 MB / 1.389 GB, free: 1.379 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009964/1.658, allocations: 3.337 MB / 1.392 GB, free: 15.37 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005547/1.664, allocations: 2.347 MB / 1.394 GB, free: 13.92 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001068/1.665, allocations: 289.8 kB / 1.394 GB, free: 13.92 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009212/1.674, allocations: 2.835 MB / 1.397 GB, free: 12.38 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001529/1.676, allocations: 0.724 MB / 1.398 GB, free: 11.79 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003752/1.68, allocations: 1.701 MB / 1.4 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/1.692, allocations: 5.427 MB / 1.405 GB, free: 7.059 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.692, allocations: 0 / 1.405 GB, free: 7.059 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.533e-06/1.692, allocations: 0 / 1.405 GB, free: 7.059 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001561/1.692, allocations: 0 / 1.405 GB, free: 7.059 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.00884/1.701, allocations: 3.687 MB / 1.408 GB, free: 4.336 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/1.701, allocations: 12.72 kB / 1.408 GB, free: 4.332 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/1.703, allocations: 364 kB / 1.409 GB, free: 4.078 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006435/1.71, allocations: 2.677 MB / 1.411 GB, free: 1.332 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/1.71, allocations: 131.4 kB / 1.412 GB, free: 1.203 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/1.71, allocations: 183.9 kB / 1.412 GB, free: 1.023 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/1.714, allocations: 1.883 MB / 1.414 GB, free: 15.07 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/1.714, allocations: 7.922 kB / 1.414 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/1.714, allocations: 75.98 kB / 1.414 GB, free: 14.99 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/1.714, allocations: 55.98 kB / 1.414 GB, free: 14.93 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/1.716, allocations: 1.375 MB / 1.415 GB, free: 13.55 MB / 1.107 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.01463/1.731, allocations: 9.985 MB / 1.425 GB, free: 2.816 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/1.733, allocations: 0.9217 MB / 1.426 GB, free: 1.895 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/1.733, allocations: 0.5385 MB / 1.426 GB, free: 1.355 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002578/1.736, allocations: 3.072 MB / 1.429 GB, free: 13.6 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/1.736, allocations: 47.56 kB / 1.429 GB, free: 13.54 MB / 1.123 GB Notification: Performance of pre-optimization done (n=120): time 3.156e-06/1.736, allocations: 0 / 1.429 GB, free: 13.54 MB / 1.123 GB Notification: Performance of matching and sorting (n=120): time 0.006005/1.742, allocations: 2.148 MB / 1.431 GB, free: 11.35 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/1.742, allocations: 64.41 kB / 1.431 GB, free: 11.27 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004084/1.746, allocations: 2.244 MB / 1.434 GB, free: 9.016 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/1.747, allocations: 49.7 kB / 1.434 GB, free: 8.961 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/1.748, allocations: 1.195 MB / 1.435 GB, free: 7.754 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006021/1.748, allocations: 456 kB / 1.435 GB, free: 7.305 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004568/1.749, allocations: 287.4 kB / 1.436 GB, free: 7.016 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.749, allocations: 369.8 kB / 1.436 GB, free: 6.648 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008508/1.75, allocations: 456.6 kB / 1.436 GB, free: 6.199 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/1.751, allocations: 0.7831 MB / 1.437 GB, free: 5.285 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/1.753, allocations: 1.288 MB / 1.438 GB, free: 3.871 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/1.753, allocations: 0 / 1.438 GB, free: 3.871 MB / 1.123 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004574/1.758, allocations: 1.813 MB / 1.44 GB, free: 2.043 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.758, allocations: 10.5 kB / 1.44 GB, free: 2.035 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/1.758, allocations: 12 kB / 1.44 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/1.759, allocations: 314 kB / 1.44 GB, free: 1.711 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/1.76, allocations: 283.6 kB / 1.441 GB, free: 1.434 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/1.761, allocations: 1.304 MB / 1.442 GB, free: 80 kB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/1.764, allocations: 155 kB / 1.442 GB, free: 15.92 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/1.764, allocations: 71.97 kB / 1.442 GB, free: 15.85 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001698/1.766, allocations: 0.8553 MB / 1.443 GB, free: 14.99 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001183/1.767, allocations: 0.7793 MB / 1.444 GB, free: 14.08 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00197/1.769, allocations: 1.285 MB / 1.445 GB, free: 12.67 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.945e-06/1.769, allocations: 4 kB / 1.445 GB, free: 12.67 MB / 1.139 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.00442/1.773, allocations: 1.801 MB / 1.447 GB, free: 10.86 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.773, allocations: 15.94 kB / 1.447 GB, free: 10.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/1.773, allocations: 12 kB / 1.447 GB, free: 10.83 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/1.775, allocations: 309.6 kB / 1.447 GB, free: 10.52 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/1.776, allocations: 287.5 kB / 1.447 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/1.777, allocations: 1.296 MB / 1.449 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/1.779, allocations: 127.4 kB / 1.449 GB, free: 8.766 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/1.779, allocations: 71.97 kB / 1.449 GB, free: 8.695 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004612/1.779, allocations: 274.8 kB / 1.449 GB, free: 8.422 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000749/1.78, allocations: 266.3 kB / 1.449 GB, free: 8.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/1.785, allocations: 2.329 MB / 1.452 GB, free: 5.871 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.126e-05/1.785, allocations: 27.97 kB / 1.452 GB, free: 5.844 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.785, allocations: 0 / 1.452 GB, free: 5.844 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002976/1.788, allocations: 1.736 MB / 1.453 GB, free: 4.051 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.799, allocations: 5.13 MB / 1.458 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/1.799, allocations: 15.98 kB / 1.458 GB, free: 14.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/1.8, allocations: 219.7 kB / 1.459 GB, free: 14.46 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009839/1.801, allocations: 241.7 kB / 1.459 GB, free: 14.23 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/1.801, allocations: 43.98 kB / 1.459 GB, free: 14.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/1.802, allocations: 1.3 MB / 1.46 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/1.802, allocations: 11.94 kB / 1.46 GB, free: 12.82 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/1.807, allocations: 2.95 MB / 1.463 GB, free: 9.773 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.809, allocations: 0.6 MB / 1.464 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004963/1.809, allocations: 39.98 kB / 1.464 GB, free: 9.113 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.811, allocations: 64.02 kB / 1.464 GB, free: 9.051 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.811, allocations: 144.8 kB / 1.464 GB, free: 8.906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.811, allocations: 75.95 kB / 1.464 GB, free: 8.832 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002818/1.814, allocations: 1.651 MB / 1.466 GB, free: 7.18 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.7e-07/1.814, allocations: 0 / 1.466 GB, free: 7.18 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004797/1.819, allocations: 1.489 MB / 1.467 GB, free: 5.688 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.del.x,pipRev.timDel.x,pipRev.vol_b.dynBal.U,pipRev.vol_a.dynBal.U,senTemOutRev.T,senTemInlRev.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 (142): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002408/1.821, allocations: 0.9838 MB / 1.468 GB, free: 4.719 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004437/1.826, allocations: 2.302 MB / 1.47 GB, free: 2.375 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.826, allocations: 4 kB / 1.47 GB, free: 2.371 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/1.828, allocations: 0.9792 MB / 1.471 GB, free: 1.367 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007558/1.835, allocations: 1.5 MB / 1.473 GB, free: 15.89 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008606/1.844, allocations: 5.035 MB / 1.478 GB, free: 10.74 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.845, allocations: 1.71 MB / 1.479 GB, free: 8.996 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002922/1.848, allocations: 0.6824 MB / 1.48 GB, free: 8.363 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/1.849, allocations: 231.4 kB / 1.48 GB, free: 8.137 MB / 1.17 GB Notification: Performance of SimCode: time 9.61e-07/1.849, allocations: 4 kB / 1.48 GB, free: 8.133 MB / 1.17 GB Notification: Performance of Templates: time 0.1062/1.955, allocations: 62.13 MB / 1.541 GB, free: 10.73 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)