Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 92.78 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009088/0.0009088, allocations: 169.3 kB / 16.58 MB, free: 6.066 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.396/1.396, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7074/0.7074, allocations: 115.5 MB / 407.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003063, allocations: 8.594 kB / 495.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 77.53 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.3899/0.5284, allocations: 146.7 MB / 0.7026 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002663/0.5311, allocations: 1.65 MB / 0.7042 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.5313, allocations: 7.938 kB / 0.7042 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004203/0.5318, allocations: 119.2 kB / 0.7043 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009604/0.5327, allocations: 395 kB / 0.7047 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.5336, allocations: 329.2 kB / 0.705 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003022/0.5367, allocations: 3.003 MB / 0.708 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002574/0.5393, allocations: 2.148 MB / 0.7101 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.5409, allocations: 0.8558 MB / 0.7109 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.5419, allocations: 0.7001 MB / 0.7116 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-05/0.542, allocations: 36 kB / 0.7116 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.5433, allocations: 0.5574 MB / 0.7122 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.5436, allocations: 286.9 kB / 0.7124 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.544, allocations: 229.1 kB / 0.7127 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.5451, allocations: 1.033 MB / 0.7137 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5452, allocations: 4 kB / 0.7137 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5452, allocations: 0 / 0.7137 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.5452, allocations: 0 / 0.7137 GB, free: 9.312 MB / 0.5294 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.002042/0.5472, allocations: 1.335 MB / 0.715 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5473, allocations: 12.03 kB / 0.715 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.5481, allocations: 182.5 kB / 0.7152 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.5494, allocations: 0.8001 MB / 0.7159 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.5495, allocations: 45 kB / 0.716 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5496, allocations: 63.94 kB / 0.716 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.5508, allocations: 0.8277 MB / 0.7169 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5509, allocations: 4 kB / 0.7169 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.5509, allocations: 27.95 kB / 0.7169 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.551, allocations: 15.94 kB / 0.7169 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000937/0.5519, allocations: 0.5696 MB / 0.7175 GB, free: 5.242 MB / 0.5294 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.0039/0.5558, allocations: 4.267 MB / 0.7216 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.5566, allocations: 445.1 kB / 0.722 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.5571, allocations: 356 kB / 0.7224 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.5574, allocations: 190.2 kB / 0.7226 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00053/0.5579, allocations: 323.1 kB / 0.7229 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002103/0.5581, allocations: 31.69 kB / 0.7229 GB, free: 15.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.874e-06/0.5581, allocations: 0 / 0.7229 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.004784/0.5629, allocations: 1.697 MB / 0.7246 GB, free: 13.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.563, allocations: 96.97 kB / 0.7247 GB, free: 13.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.5644, allocations: 1.147 MB / 0.7258 GB, free: 12.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/0.5644, allocations: 33.7 kB / 0.7258 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.5648, allocations: 480.5 kB / 0.7263 GB, free: 11.81 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.5649, allocations: 114.4 kB / 0.7264 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.565, allocations: 12 kB / 0.7264 GB, free: 11.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5651, allocations: 330.1 kB / 0.7267 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.5655, allocations: 208.9 kB / 0.7269 GB, free: 11.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.5661, allocations: 0.515 MB / 0.7274 GB, free: 10.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.5666, allocations: 319.4 kB / 0.7277 GB, free: 10.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5666, allocations: 0 / 0.7277 GB, free: 10.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002122/0.5687, allocations: 1.046 MB / 0.7287 GB, free: 9.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.5689, allocations: 283.2 kB / 0.729 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5689, allocations: 4 kB / 0.729 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.5702, allocations: 344.4 kB / 0.7293 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.5706, allocations: 103.9 kB / 0.7294 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.5716, allocations: 1.048 MB / 0.7305 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/0.5724, allocations: 87.81 kB / 0.7305 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.5725, allocations: 27.98 kB / 0.7306 GB, free: 7.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.5725, allocations: 4 kB / 0.7306 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001442/0.574, allocations: 0.7907 MB / 0.7313 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.574, allocations: 8 kB / 0.7313 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005996/0.5746, allocations: 254.4 kB / 0.7316 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.5749, allocations: 91.88 kB / 0.7317 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.5786, allocations: 3.057 MB / 0.7347 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/0.5794, allocations: 87.81 kB / 0.7347 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.5795, allocations: 20 kB / 0.7348 GB, free: 2.691 MB / 0.545 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006/0.5801, allocations: 472.6 kB / 0.7352 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.5802, allocations: 110.8 kB / 0.7353 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.5816, allocations: 0.785 MB / 0.7361 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5816, allocations: 4 kB / 0.7361 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.5816, allocations: 0 / 0.7361 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.5816, allocations: 3.984 kB / 0.7361 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.5842, allocations: 1.742 MB / 0.7378 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5842, allocations: 0 / 0.7378 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.5844, allocations: 60.16 kB / 0.7379 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.585, allocations: 236.6 kB / 0.7381 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.585, allocations: 8 kB / 0.7381 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009174/0.5859, allocations: 1.018 MB / 0.7391 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5859, allocations: 0 / 0.7391 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.5873, allocations: 0.9011 MB / 0.74 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.5876, allocations: 227.8 kB / 0.7402 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.5877, allocations: 8 kB / 0.7402 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.5883, allocations: 67.77 kB / 0.7402 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.5884, allocations: 31.91 kB / 0.7403 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.5885, allocations: 12 kB / 0.7403 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001041/0.5895, allocations: 0.8119 MB / 0.7411 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.983e-06/0.5895, allocations: 0 / 0.7411 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001258/0.5908, allocations: 475.5 kB / 0.7415 GB, free: 11.56 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.000366/0.5912, allocations: 187.2 kB / 0.7417 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.5932, allocations: 1.14 MB / 0.7428 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5932, allocations: 4 kB / 0.7428 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.5938, allocations: 254.4 kB / 0.7431 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.5967, allocations: 0.631 MB / 0.7437 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.5996, allocations: 1.984 MB / 0.7456 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/0.6004, allocations: 1.189 MB / 0.7468 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001057/0.6014, allocations: 340.1 kB / 0.7471 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.6016, allocations: 63.44 kB / 0.7472 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of SimCode: time 2.284e-06/0.6016, allocations: 0 / 0.7472 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of Templates: time 0.03403/0.6357, allocations: 20.71 MB / 0.7674 GB, free: 1.23 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)