Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009364/0.0009364, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001791, allocations: 270.1 kB / 291.3 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9318/0.9318, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007707/0.0007708, allocations: 17.78 kB / 0.598 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1805, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.4241/0.6047, allocations: 146.7 MB / 0.8278 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.6072, allocations: 1.647 MB / 0.8294 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.6074, allocations: 9.438 kB / 0.8294 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004065/0.6078, allocations: 114.9 kB / 0.8295 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009659/0.6088, allocations: 389.4 kB / 0.8299 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.6097, allocations: 341.5 kB / 0.8302 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.6126, allocations: 3.009 MB / 0.8331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.6149, allocations: 2.143 MB / 0.8352 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.6164, allocations: 0.8645 MB / 0.8361 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.6171, allocations: 0.71 MB / 0.8368 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.6172, allocations: 34.59 kB / 0.8368 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.6182, allocations: 0.5551 MB / 0.8373 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.6185, allocations: 275.9 kB / 0.8376 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.6187, allocations: 232.5 kB / 0.8378 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009289/0.6196, allocations: 1.035 MB / 0.8388 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6197, allocations: 4 kB / 0.8388 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6197, allocations: 0 / 0.8388 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.6197, allocations: 0 / 0.8388 GB, free: 9.262 MB / 0.5606 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.001887/0.6216, allocations: 1.341 MB / 0.8401 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.6216, allocations: 9.219 kB / 0.8402 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/0.6223, allocations: 189.5 kB / 0.8403 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.6235, allocations: 0.7945 MB / 0.8411 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.6236, allocations: 44.12 kB / 0.8412 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.321e-05/0.6236, allocations: 61.09 kB / 0.8412 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.6247, allocations: 0.8246 MB / 0.842 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6247, allocations: 3.031 kB / 0.842 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.6248, allocations: 22.16 kB / 0.842 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.6248, allocations: 13.38 kB / 0.8421 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.6257, allocations: 0.5729 MB / 0.8426 GB, free: 6.953 MB / 0.5606 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.003415/0.6291, allocations: 4.257 MB / 0.8468 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.6298, allocations: 456.7 kB / 0.8472 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.6302, allocations: 360.6 kB / 0.8475 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.6305, allocations: 190.8 kB / 0.8477 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.631, allocations: 320.5 kB / 0.848 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001754/0.6312, allocations: 30.22 kB / 0.8481 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.6312, allocations: 3.938 kB / 0.8481 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.004325/0.6355, allocations: 1.59 MB / 0.8496 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.6356, allocations: 79.23 kB / 0.8497 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.6368, allocations: 1.14 MB / 0.8508 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.6369, allocations: 42.89 kB / 0.8509 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/0.6372, allocations: 493.6 kB / 0.8513 GB, free: 280 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.6373, allocations: 123.2 kB / 0.8514 GB, free: 172 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.6374, allocations: 8 kB / 0.8514 GB, free: 164 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6375, allocations: 321.8 kB / 0.8518 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.6378, allocations: 207.6 kB / 0.852 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.6384, allocations: 0.5253 MB / 0.8525 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.6388, allocations: 306.3 kB / 0.8528 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6388, allocations: 2.938 kB / 0.8528 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002067/0.6409, allocations: 1.06 MB / 0.8538 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.6411, allocations: 276.6 kB / 0.8541 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6411, allocations: 4.969 kB / 0.8541 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.6424, allocations: 405.1 kB / 0.8545 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.6428, allocations: 95.61 kB / 0.8545 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.644, allocations: 1.111 MB / 0.8556 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/0.6448, allocations: 86.47 kB / 0.8557 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.6449, allocations: 39.39 kB / 0.8557 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.6449, allocations: 8.359 kB / 0.8558 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/0.6462, allocations: 0.7909 MB / 0.8565 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6462, allocations: 2.906 kB / 0.8565 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005016/0.6467, allocations: 244.2 kB / 0.8568 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.6471, allocations: 99.8 kB / 0.8569 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.6505, allocations: 3.063 MB / 0.8598 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.6512, allocations: 87.91 kB / 0.8599 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.6513, allocations: 22.38 kB / 0.86 GB, free: 10.09 MB / 0.5762 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004706/0.6518, allocations: 486.5 kB / 0.8604 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6519, allocations: 100.1 kB / 0.8605 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.6532, allocations: 0.779 MB / 0.8613 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6532, allocations: 2.875 kB / 0.8613 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.6532, allocations: 0 / 0.8613 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.6532, allocations: 7.328 kB / 0.8613 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.6555, allocations: 1.741 MB / 0.863 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6555, allocations: 9.344 kB / 0.863 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.6557, allocations: 54.34 kB / 0.863 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/0.6562, allocations: 270.7 kB / 0.8633 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.6563, allocations: 10.67 kB / 0.8633 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009439/0.6572, allocations: 1.04 MB / 0.8643 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.6572, allocations: 4.094 kB / 0.8643 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.6585, allocations: 0.9172 MB / 0.8652 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.6588, allocations: 231.7 kB / 0.8655 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.6589, allocations: 8 kB / 0.8655 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.6595, allocations: 67.77 kB / 0.8655 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.6596, allocations: 39.84 kB / 0.8656 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.6597, allocations: 8 kB / 0.8656 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009967/0.6607, allocations: 0.8119 MB / 0.8664 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6607, allocations: 0 / 0.8664 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001227/0.6619, allocations: 467.5 kB / 0.8668 GB, free: 4.504 MB / 0.5762 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003724/0.6623, allocations: 179.9 kB / 0.867 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00239/0.6647, allocations: 1.266 MB / 0.8682 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6647, allocations: 0 / 0.8682 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006407/0.6653, allocations: 308.1 kB / 0.8685 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.6681, allocations: 0.6423 MB / 0.8691 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.671, allocations: 2.085 MB / 0.8712 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007009/0.6717, allocations: 1.181 MB / 0.8723 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009592/0.6726, allocations: 340.1 kB / 0.8727 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.6728, allocations: 63.44 kB / 0.8727 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.6728, allocations: 8 kB / 0.8727 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.03149/0.7043, allocations: 20.41 MB / 0.8927 GB, free: 10.14 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)