Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.001025/0.001025, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.281/1.281, 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.002113/0.002113, allocations: 286.9 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.9914/0.9914, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 104 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3982, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1538/0.5521, allocations: 161.6 MB / 0.9249 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00267/0.5548, allocations: 1.758 MB / 0.9266 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.555, allocations: 19.88 kB / 0.9266 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.5554, allocations: 159 kB / 0.9268 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.5565, allocations: 0.5317 MB / 0.9273 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008545/0.5574, allocations: 381.3 kB / 0.9277 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.5598, allocations: 2.526 MB / 0.9301 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5608, allocations: 0.9333 MB / 0.931 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.562, allocations: 1.043 MB / 0.9321 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007628/0.5628, allocations: 0.7078 MB / 0.9327 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.5629, allocations: 52 kB / 0.9328 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.564, allocations: 0.7406 MB / 0.9335 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.5643, allocations: 302.9 kB / 0.9338 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.5648, allocations: 0.5439 MB / 0.9343 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.5661, allocations: 1.404 MB / 0.9357 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5661, allocations: 4 kB / 0.9357 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5661, allocations: 0 / 0.9357 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.5661, allocations: 0 / 0.9357 GB, free: 6.555 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.001977/0.5681, allocations: 1.451 MB / 0.9371 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.5682, allocations: 8.031 kB / 0.9371 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007405/0.5689, allocations: 190.5 kB / 0.9373 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.5701, allocations: 0.8528 MB / 0.9382 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.5701, allocations: 49 kB / 0.9382 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-05/0.5702, allocations: 56 kB / 0.9383 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.5713, allocations: 0.7926 MB / 0.939 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5713, allocations: 7.938 kB / 0.939 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.5714, allocations: 20 kB / 0.9391 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.5714, allocations: 16 kB / 0.9391 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/0.5723, allocations: 0.5305 MB / 0.9396 GB, free: 2.391 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.003473/0.5758, allocations: 4.591 MB / 0.9441 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.5765, allocations: 418.3 kB / 0.9445 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.5769, allocations: 247.1 kB / 0.9447 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.5772, allocations: 198.1 kB / 0.9449 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.5776, allocations: 281.6 kB / 0.9452 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.5776, allocations: 4 kB / 0.9452 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001242/0.5789, allocations: 0.6339 MB / 0.9458 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.5789, allocations: 81.11 kB / 0.9459 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.5801, allocations: 1.118 MB / 0.947 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.5802, allocations: 37.7 kB / 0.947 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.5805, allocations: 496.1 kB / 0.9475 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.5806, allocations: 106.5 kB / 0.9476 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.5808, allocations: 118 kB / 0.9477 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.5809, allocations: 321.9 kB / 0.948 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.5813, allocations: 214.4 kB / 0.9482 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.5819, allocations: 0.5241 MB / 0.9487 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.5827, allocations: 0.6344 MB / 0.9493 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5827, allocations: 8 kB / 0.9493 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001087/0.5838, allocations: 0.7229 MB / 0.95 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.5838, allocations: 33.7 kB / 0.9501 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.5839, allocations: 8 kB / 0.9501 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5839, allocations: 8 kB / 0.9501 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004101/0.5843, allocations: 111.8 kB / 0.9502 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.5843, allocations: 8 kB / 0.9502 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.5849, allocations: 75.7 kB / 0.9503 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.5849, allocations: 24 kB / 0.9503 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006245/0.5856, allocations: 0.4967 MB / 0.9508 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005101/0.5861, allocations: 489.9 kB / 0.9512 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007155/0.5868, allocations: 0.565 MB / 0.9518 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.5868, allocations: 0 / 0.9518 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009668/0.5878, allocations: 0.6443 MB / 0.9524 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5878, allocations: 33.77 kB / 0.9525 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5878, allocations: 8.109 kB / 0.9525 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.5878, allocations: 11.94 kB / 0.9525 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.5882, allocations: 103.9 kB / 0.9526 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5882, allocations: 11.94 kB / 0.9526 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.5888, allocations: 64.03 kB / 0.9526 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.5888, allocations: 24 kB / 0.9527 GB, free: 4.012 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): 52 * Array equations: 0 * Algorithm blocks: 1 * 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.0001483/0.589, allocations: 228 kB / 0.9529 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.5891, allocations: 98.78 kB / 0.953 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008406/0.59, allocations: 491 kB / 0.9535 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.59, allocations: 3.984 kB / 0.9535 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.59, allocations: 3.938 kB / 0.9535 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.5902, allocations: 219.8 kB / 0.9537 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.5903, allocations: 4 kB / 0.9537 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.5907, allocations: 23.92 kB / 0.9537 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.616e-05/0.5908, allocations: 27.95 kB / 0.9537 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008853/0.5917, allocations: 0.5623 MB / 0.9543 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007909/0.5925, allocations: 0.7054 MB / 0.955 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002907/0.5928, allocations: 184 kB / 0.9551 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008715/0.5937, allocations: 0.7836 MB / 0.9559 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of Backend: time 3.71e-07/0.5937, allocations: 0 / 0.9559 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.2842/0.8778, allocations: 0.9049 MB / 0.9568 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004163/0.882, allocations: 2.441 MB / 0.9592 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.02421/0.9062, allocations: 18.91 MB / 0.9776 GB, free: 177.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)