Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001028/0.001028, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.263/1.263, allocations: 222.9 MB / 241.1 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.002157/0.002157, allocations: 290 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.9139/0.9139, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 92.23 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3663, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1541/0.5205, allocations: 161.6 MB / 0.9249 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.5233, allocations: 1.752 MB / 0.9266 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.5235, allocations: 11.94 kB / 0.9266 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.524, allocations: 166.9 kB / 0.9267 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.5251, allocations: 0.5211 MB / 0.9273 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009112/0.526, allocations: 399.5 kB / 0.9276 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.5284, allocations: 2.521 MB / 0.9301 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.5295, allocations: 0.9333 MB / 0.931 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.5308, allocations: 1.043 MB / 0.932 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007568/0.5316, allocations: 0.7117 MB / 0.9327 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.5317, allocations: 52 kB / 0.9328 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.5328, allocations: 0.7406 MB / 0.9335 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.5331, allocations: 298.9 kB / 0.9338 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.5336, allocations: 0.5517 MB / 0.9343 GB, free: 7.93 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.535, allocations: 1.4 MB / 0.9357 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.535, allocations: 0 / 0.9357 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.092e-06/0.535, allocations: 4 kB / 0.9357 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.535, allocations: 0 / 0.9357 GB, free: 6.523 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002002/0.537, allocations: 1.447 MB / 0.9371 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.5371, allocations: 16.03 kB / 0.9371 GB, free: 5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007358/0.5378, allocations: 182.5 kB / 0.9373 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.539, allocations: 0.8528 MB / 0.9381 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.5391, allocations: 41 kB / 0.9382 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/0.5392, allocations: 60 kB / 0.9382 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5403, allocations: 0.7925 MB / 0.939 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5403, allocations: 4 kB / 0.939 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.5404, allocations: 24 kB / 0.939 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.5404, allocations: 12 kB / 0.939 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.5413, allocations: 0.5383 MB / 0.9396 GB, free: 2.363 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.003577/0.5449, allocations: 4.591 MB / 0.944 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.5455, allocations: 427 kB / 0.9445 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.5459, allocations: 248 kB / 0.9447 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/0.5462, allocations: 198.2 kB / 0.9449 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.5467, allocations: 289.6 kB / 0.9452 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.5467, allocations: 0 / 0.9452 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001259/0.548, allocations: 0.6301 MB / 0.9458 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.548, allocations: 85.05 kB / 0.9459 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.5492, allocations: 1.114 MB / 0.9469 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.5493, allocations: 37.7 kB / 0.947 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.5497, allocations: 496.1 kB / 0.9474 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.5497, allocations: 106.5 kB / 0.9475 GB, free: 9.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.5499, allocations: 106 kB / 0.9477 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.55, allocations: 337.9 kB / 0.948 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.5504, allocations: 214.4 kB / 0.9482 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/0.551, allocations: 0.5174 MB / 0.9487 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.5519, allocations: 0.6402 MB / 0.9493 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5519, allocations: 0 / 0.9493 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001124/0.553, allocations: 0.7161 MB / 0.95 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.553, allocations: 34.36 kB / 0.95 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5531, allocations: 8 kB / 0.95 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5531, allocations: 8 kB / 0.9501 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.555, allocations: 351.3 kB / 0.9504 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.5582, allocations: 6.091 MB / 0.9563 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.5589, allocations: 71.48 kB / 0.9564 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.5589, allocations: 27.98 kB / 0.9564 GB, free: 108 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3058/0.8647, allocations: 499.4 kB / 0.9569 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005297/0.8653, allocations: 489.5 kB / 0.9574 GB, free: 190 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007945/0.8661, allocations: 0.5652 MB / 0.9579 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.08e-06/0.8661, allocations: 2.062 kB / 0.9579 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001289/0.8674, allocations: 0.649 MB / 0.9586 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.8675, allocations: 41.94 kB / 0.9586 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.8675, allocations: 5.625 kB / 0.9586 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.8675, allocations: 8.531 kB / 0.9586 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.8681, allocations: 153.5 kB / 0.9588 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/0.8682, allocations: 12.94 kB / 0.9588 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/0.8688, allocations: 65.67 kB / 0.9588 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.8689, allocations: 22.75 kB / 0.9589 GB, free: 189.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.869, allocations: 219.9 kB / 0.9591 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.8692, allocations: 96.25 kB / 0.9592 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009362/0.8701, allocations: 498.5 kB / 0.9596 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8701, allocations: 1.312 kB / 0.9596 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8701, allocations: 1.469 kB / 0.9596 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.8703, allocations: 213 kB / 0.9598 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.8705, allocations: 12.8 kB / 0.9599 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/0.8708, allocations: 20.31 kB / 0.9599 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.8709, allocations: 28.45 kB / 0.9599 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001379/0.8723, allocations: 0.7721 MB / 0.9607 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001069/0.8734, allocations: 0.924 MB / 0.9616 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002978/0.8737, allocations: 177.5 kB / 0.9617 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009338/0.8746, allocations: 0.7862 MB / 0.9625 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of Backend: time 8.32e-07/0.8746, allocations: 96 / 0.9625 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003577/0.8782, allocations: 1.176 MB / 0.9636 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003649/0.8819, allocations: 2.584 MB / 0.9662 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02226/0.9042, allocations: 19.43 MB / 0.9851 GB, free: 169.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)