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.001263/0.001263, allocations: 110.1 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.001322/0.001322, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002093, allocations: 282.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9488/0.9488, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 86.97 MB / 0.7671 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1539/0.5355, allocations: 161.6 MB / 0.9249 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.5385, allocations: 1.753 MB / 0.9266 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.5389, allocations: 15.94 kB / 0.9266 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005775/0.5395, allocations: 162.9 kB / 0.9268 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.5409, allocations: 0.5523 MB / 0.9273 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.5421, allocations: 388.2 kB / 0.9277 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.5447, allocations: 2.537 MB / 0.9302 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.546, allocations: 0.9372 MB / 0.9311 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.5477, allocations: 1.043 MB / 0.9321 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.5488, allocations: 0.7039 MB / 0.9328 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.5491, allocations: 56 kB / 0.9328 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5506, allocations: 0.7406 MB / 0.9336 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004026/0.551, allocations: 306.9 kB / 0.9338 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008425/0.5518, allocations: 0.544 MB / 0.9344 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.5535, allocations: 1.404 MB / 0.9357 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5535, allocations: 4 kB / 0.9358 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5536, allocations: 0 / 0.9358 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.403e-05/0.5536, allocations: 0 / 0.9358 GB, free: 6.281 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.00254/0.5561, allocations: 1.451 MB / 0.9372 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.5562, allocations: 8.031 kB / 0.9372 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/0.557, allocations: 182.5 kB / 0.9374 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.5585, allocations: 0.8567 MB / 0.9382 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.5586, allocations: 41 kB / 0.9382 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.5587, allocations: 64 kB / 0.9383 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.5599, allocations: 0.7964 MB / 0.9391 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5599, allocations: 0 / 0.9391 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.56, allocations: 20 kB / 0.9391 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.56, allocations: 12 kB / 0.9391 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009293/0.5609, allocations: 0.5383 MB / 0.9396 GB, free: 2.121 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.003983/0.5649, allocations: 4.591 MB / 0.9441 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.5656, allocations: 418.3 kB / 0.9445 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.566, allocations: 247.1 kB / 0.9447 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.5663, allocations: 194.4 kB / 0.9449 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004731/0.5668, allocations: 289.5 kB / 0.9452 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.5668, allocations: 7.938 kB / 0.9452 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31): time 0.001358/0.5682, allocations: 0.6339 MB / 0.9458 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.5682, allocations: 81.11 kB / 0.9459 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.5695, allocations: 1.114 MB / 0.947 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.5696, allocations: 33.7 kB / 0.947 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.57, allocations: 0.4884 MB / 0.9475 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.5701, allocations: 106.5 kB / 0.9476 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.5702, allocations: 110 kB / 0.9477 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5703, allocations: 329.9 kB / 0.948 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.5707, allocations: 210.4 kB / 0.9482 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006012/0.5713, allocations: 0.5213 MB / 0.9487 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008675/0.5722, allocations: 0.6403 MB / 0.9494 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.5722, allocations: 8 kB / 0.9494 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001178/0.5734, allocations: 0.7165 MB / 0.9501 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.5735, allocations: 36.05 kB / 0.9501 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.5735, allocations: 8 kB / 0.9501 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5735, allocations: 8 kB / 0.9501 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.5739, allocations: 111.8 kB / 0.9502 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.574, allocations: 7.938 kB / 0.9502 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.5746, allocations: 79.7 kB / 0.9503 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.5746, allocations: 24 kB / 0.9503 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006624/0.5753, allocations: 0.4889 MB / 0.9508 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005162/0.5758, allocations: 489.9 kB / 0.9513 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007318/0.5766, allocations: 0.5667 MB / 0.9518 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/0.5766, allocations: 0 / 0.9518 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001025/0.5776, allocations: 0.6444 MB / 0.9525 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.5777, allocations: 33.77 kB / 0.9525 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.5777, allocations: 8 kB / 0.9525 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.5777, allocations: 8 kB / 0.9525 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.5781, allocations: 103.8 kB / 0.9526 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5781, allocations: 15.92 kB / 0.9526 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/0.5787, allocations: 64.03 kB / 0.9527 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.5787, allocations: 24 kB / 0.9527 GB, free: 3.746 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.0001565/0.5789, allocations: 220 kB / 0.9529 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.579, allocations: 102.8 kB / 0.953 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008764/0.5799, allocations: 498.9 kB / 0.9535 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5799, allocations: 7.922 kB / 0.9535 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5799, allocations: 0 / 0.9535 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.5803, allocations: 215.8 kB / 0.9537 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.5804, allocations: 8 kB / 0.9537 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.5808, allocations: 23.92 kB / 0.9537 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.5809, allocations: 27.95 kB / 0.9538 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009222/0.5818, allocations: 0.5703 MB / 0.9543 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008067/0.5826, allocations: 0.7092 MB / 0.955 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002881/0.5829, allocations: 171.8 kB / 0.9552 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009228/0.5838, allocations: 0.7914 MB / 0.9559 GB, free: 368 kB / 0.7169 GB Notification: Performance of Backend: time 5.61e-07/0.5839, allocations: 0 / 0.9559 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.2973/0.8811, allocations: 0.8928 MB / 0.9568 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0043/0.8855, allocations: 2.455 MB / 0.9592 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02496/0.9105, allocations: 18.91 MB / 0.9777 GB, free: 176.8 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)