Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001648/0.001648, allocations: 110.3 kB / 16.42 MB, free: 6.469 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.001826/0.001826, allocations: 187.9 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 297.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9835/0.9835, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5189, allocations: 86.98 MB / 0.767 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.Pipe): time 0.0494/0.5684, allocations: 46.5 MB / 0.8125 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.5868, allocations: 11.86 MB / 0.824 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.5894, allocations: 71.56 kB / 0.8241 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.5918, allocations: 0.7296 MB / 0.8248 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006747/0.5986, allocations: 2.444 MB / 0.8272 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.6027, allocations: 1.542 MB / 0.8287 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005851/0.6086, allocations: 4.404 MB / 0.833 GB, free: 316 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.6109, allocations: 1.58 MB / 0.8346 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003602/0.6145, allocations: 1.609 MB / 0.8361 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.6167, allocations: 1.182 MB / 0.8373 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005476/0.6172, allocations: 148 kB / 0.8374 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003556/0.6208, allocations: 1.497 MB / 0.8389 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006603/0.6215, allocations: 398.6 kB / 0.8393 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.6231, allocations: 0.8749 MB / 0.8401 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005168/0.6283, allocations: 2.862 MB / 0.8429 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6283, allocations: 0 / 0.8429 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6283, allocations: 0 / 0.8429 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.498e-05/0.6284, allocations: 0 / 0.8429 GB, free: 6.113 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.005397/0.6338, allocations: 2.082 MB / 0.845 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.6339, allocations: 8.031 kB / 0.845 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.6346, allocations: 182.6 kB / 0.8451 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/0.6392, allocations: 2.058 MB / 0.8471 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.6394, allocations: 99.69 kB / 0.8472 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.6396, allocations: 91.94 kB / 0.8473 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.6419, allocations: 1.174 MB / 0.8485 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.642, allocations: 3.906 kB / 0.8485 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.6421, allocations: 43.98 kB / 0.8485 GB, free: 232 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/0.6421, allocations: 23.94 kB / 0.8485 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.644, allocations: 0.9095 MB / 0.8494 GB, free: 15.29 MB / 0.6231 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.006754/0.6508, allocations: 4.664 MB / 0.854 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.6518, allocations: 0.5273 MB / 0.8545 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.6524, allocations: 325.3 kB / 0.8548 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.6534, allocations: 0.9227 MB / 0.8557 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.828e-05/0.6535, allocations: 43.06 kB / 0.8558 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=56): time 4.488e-06/0.6535, allocations: 4 kB / 0.8558 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56): time 0.002/0.6555, allocations: 0.8449 MB / 0.8566 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.6555, allocations: 55.97 kB / 0.8566 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.6574, allocations: 1.247 MB / 0.8579 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.6575, allocations: 37.7 kB / 0.8579 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.658, allocations: 0.6102 MB / 0.8585 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.6582, allocations: 201.1 kB / 0.8587 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.6584, allocations: 134.2 kB / 0.8588 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6586, allocations: 330 kB / 0.8591 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.659, allocations: 247.3 kB / 0.8594 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.6597, allocations: 417.8 kB / 0.8598 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.6607, allocations: 0.6623 MB / 0.8604 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6608, allocations: 0 / 0.8604 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001574/0.6623, allocations: 0.8096 MB / 0.8612 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6624, allocations: 10.97 kB / 0.8612 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.6624, allocations: 4 kB / 0.8612 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.6624, allocations: 8 kB / 0.8612 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.6633, allocations: 179.8 kB / 0.8614 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007074/0.664, allocations: 1.184 MB / 0.8625 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007715/0.6648, allocations: 79.2 kB / 0.8626 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.6649, allocations: 31.98 kB / 0.8626 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009498/0.6658, allocations: 0.6105 MB / 0.8632 GB, free: 424 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005953/0.6664, allocations: 413.9 kB / 0.8636 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/0.6675, allocations: 0.6467 MB / 0.8643 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.316e-06/0.6675, allocations: 0 / 0.8643 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001487/0.669, allocations: 0.8017 MB / 0.8651 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.669, allocations: 8 kB / 0.8651 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.669, allocations: 8.156 kB / 0.8651 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.669, allocations: 4.531 kB / 0.8651 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.6696, allocations: 159.7 kB / 0.8652 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.6697, allocations: 15.92 kB / 0.8652 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.6704, allocations: 55.58 kB / 0.8653 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.6704, allocations: 31.98 kB / 0.8653 GB, free: 14.15 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.6707, allocations: 216.1 kB / 0.8655 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.6709, allocations: 134.3 kB / 0.8657 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.6726, allocations: 0.8626 MB / 0.8665 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/0.6738, allocations: 0.6931 MB / 0.8672 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6738, allocations: 0 / 0.8672 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.6744, allocations: 291.3 kB / 0.8675 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.6746, allocations: 12 kB / 0.8675 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/0.6753, allocations: 39.95 kB / 0.8675 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.6754, allocations: 36.52 kB / 0.8675 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001749/0.6772, allocations: 0.8281 MB / 0.8683 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001983/0.6792, allocations: 1.311 MB / 0.8696 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005234/0.6797, allocations: 324.3 kB / 0.8699 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001335/0.6811, allocations: 0.8719 MB / 0.8708 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of Backend: time 3.61e-07/0.6811, allocations: 4 kB / 0.8708 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003669/0.6848, allocations: 1.327 MB / 0.8721 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of SimCode: time 0.00614/0.6909, allocations: 3.468 MB / 0.8755 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of Templates: time 0.05118/0.7421, allocations: 32.03 MB / 0.9067 GB, free: 3.973 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)