Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001194/0.001194, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 290.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9464/0.9464, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4674, allocations: 86.98 MB / 0.767 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1915/0.659, allocations: 161.3 MB / 0.9246 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.661, allocations: 0.9639 MB / 0.9255 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.6612, allocations: 7.938 kB / 0.9255 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.6618, allocations: 163 kB / 0.9257 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.6634, allocations: 0.6575 MB / 0.9263 GB, free: 32 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.664, allocations: 233.5 kB / 0.9266 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0005773/0.6646, allocations: 0.5149 MB / 0.9271 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.665, allocations: 184.1 kB / 0.9272 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.6654, allocations: 235.1 kB / 0.9275 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.6656, allocations: 155.4 kB / 0.9276 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.6656, allocations: 16 kB / 0.9276 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008767/0.6665, allocations: 0.5455 MB / 0.9282 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.6666, allocations: 87.72 kB / 0.9282 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.6668, allocations: 111.4 kB / 0.9283 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.6675, allocations: 497.2 kB / 0.9288 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6675, allocations: 0 / 0.9288 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6675, allocations: 0 / 0.9288 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.6675, allocations: 0 / 0.9288 GB, free: 13.48 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001421/0.6689, allocations: 0.6038 MB / 0.9294 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.669, allocations: 12.02 kB / 0.9294 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.6692, allocations: 43.69 kB / 0.9295 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.6697, allocations: 295.5 kB / 0.9297 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.6697, allocations: 12.33 kB / 0.9298 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.6698, allocations: 16 kB / 0.9298 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.6703, allocations: 239.8 kB / 0.93 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6703, allocations: 4 kB / 0.93 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.6703, allocations: 8 kB / 0.93 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.6704, allocations: 12 kB / 0.93 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.6709, allocations: 247.8 kB / 0.9303 GB, free: 11.92 MB / 0.7012 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.001244/0.6722, allocations: 0.847 MB / 0.9311 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.6725, allocations: 138.5 kB / 0.9312 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.6727, allocations: 108.9 kB / 0.9313 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.673, allocations: 194.2 kB / 0.9315 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.6731, allocations: 34.56 kB / 0.9315 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=14): time 1.804e-06/0.6731, allocations: 0 / 0.9315 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14): time 0.000851/0.6739, allocations: 307.6 kB / 0.9318 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.674, allocations: 55.41 kB / 0.9319 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.6742, allocations: 241 kB / 0.9321 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.6743, allocations: 33.7 kB / 0.9321 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.6743, allocations: 132.2 kB / 0.9323 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.6744, allocations: 51.3 kB / 0.9323 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.6745, allocations: 33.7 kB / 0.9324 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6746, allocations: 326.8 kB / 0.9327 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.6748, allocations: 71.94 kB / 0.9327 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.675, allocations: 106.5 kB / 0.9328 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.6753, allocations: 170.4 kB / 0.933 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6754, allocations: 4 kB / 0.933 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000439/0.6758, allocations: 215.2 kB / 0.9332 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.6758, allocations: 4 kB / 0.9332 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6758, allocations: 3.938 kB / 0.9332 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6759, allocations: 7.938 kB / 0.9332 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.6761, allocations: 23.98 kB / 0.9332 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.6761, allocations: 4 kB / 0.9332 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.6763, allocations: 27.83 kB / 0.9333 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.6763, allocations: 11.98 kB / 0.9333 GB, free: 8.602 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.6764, allocations: 140.2 kB / 0.9334 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.6765, allocations: 15.81 kB / 0.9334 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.382e-05/0.6766, allocations: 37.77 kB / 0.9335 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6766, allocations: 0 / 0.9335 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6766, allocations: 0 / 0.9335 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6767, allocations: 112.8 kB / 0.9336 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.6768, allocations: 12 kB / 0.9336 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.6769, allocations: 7.984 kB / 0.9336 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.677, allocations: 11.98 kB / 0.9336 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005166/0.6775, allocations: 280.8 kB / 0.9339 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004849/0.678, allocations: 393 kB / 0.9343 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001865/0.6782, allocations: 79.94 kB / 0.9343 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001553/0.6784, allocations: 180.4 kB / 0.9345 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of Backend: time 8.21e-07/0.6784, allocations: 0 / 0.9345 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.6796, allocations: 287.7 kB / 0.9348 GB, free: 7.027 MB / 0.7012 GB Notification: Performance of SimCode: time 0.001227/0.6809, allocations: 0.8988 MB / 0.9357 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of Templates: time 0.01006/0.6909, allocations: 5.5 MB / 0.941 GB, free: 0.6406 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)