Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001263/0.001263, allocations: 117 kB / 17.09 MB, free: 5.969 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.001265/0.001265, allocations: 197.8 kB / 18.02 MB, free: 5.047 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.348/1.348, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7394/0.7394, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 65.7 kB / 0.5583 GB, free: 32.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 76.17 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.5808/0.7298, allocations: 161.6 MB / 0.7905 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003227/0.733, allocations: 1.768 MB / 0.7923 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.7335, allocations: 11.3 kB / 0.7923 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.7342, allocations: 168 kB / 0.7924 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.7357, allocations: 0.5157 MB / 0.7929 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.737, allocations: 401.6 kB / 0.7933 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.7397, allocations: 2.557 MB / 0.7958 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.7423, allocations: 2.406 MB / 0.7982 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.7443, allocations: 1.038 MB / 0.7992 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009441/0.7452, allocations: 0.7231 MB / 0.7999 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.7454, allocations: 57.88 kB / 0.7999 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.747, allocations: 0.7454 MB / 0.8007 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.7473, allocations: 308.6 kB / 0.801 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007279/0.7481, allocations: 0.5505 MB / 0.8015 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.7499, allocations: 1.419 MB / 0.8029 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7499, allocations: 0 / 0.8029 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.75, allocations: 0 / 0.8029 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.75, allocations: 0 / 0.8029 GB, free: 11.38 MB / 0.5919 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.002434/0.7524, allocations: 1.447 MB / 0.8043 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.7525, allocations: 9.938 kB / 0.8043 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/0.7533, allocations: 183.4 kB / 0.8045 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.7547, allocations: 0.8594 MB / 0.8053 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.7547, allocations: 47.62 kB / 0.8054 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.163e-05/0.7548, allocations: 59.66 kB / 0.8054 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.7559, allocations: 0.8171 MB / 0.8062 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.7559, allocations: 6.906 kB / 0.8062 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.756, allocations: 21.84 kB / 0.8062 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.756, allocations: 12.88 kB / 0.8063 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.7569, allocations: 0.5625 MB / 0.8068 GB, free: 9.273 MB / 0.5919 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.003865/0.7607, allocations: 4.219 MB / 0.8109 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.7615, allocations: 448.3 kB / 0.8113 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/0.7619, allocations: 342.7 kB / 0.8117 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/0.7622, allocations: 198.2 kB / 0.8119 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004872/0.7627, allocations: 317.1 kB / 0.8122 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002636/0.763, allocations: 32.72 kB / 0.8122 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.763, allocations: 0 / 0.8122 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.004622/0.7676, allocations: 1.567 MB / 0.8137 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.7677, allocations: 84.45 kB / 0.8138 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.769, allocations: 1.151 MB / 0.8149 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-05/0.7691, allocations: 38.27 kB / 0.815 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.7694, allocations: 484.3 kB / 0.8154 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.432e-05/0.7696, allocations: 112.1 kB / 0.8155 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.7697, allocations: 117 kB / 0.8156 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7698, allocations: 331.6 kB / 0.816 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.7702, allocations: 237.3 kB / 0.8162 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.7709, allocations: 0.5433 MB / 0.8167 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.7719, allocations: 0.6698 MB / 0.8174 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.7719, allocations: 2.531 kB / 0.8174 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002412/0.7743, allocations: 1.105 MB / 0.8185 GB, free: 2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.7744, allocations: 37.8 kB / 0.8185 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.7744, allocations: 7.5 kB / 0.8185 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.7758, allocations: 424 kB / 0.8189 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.7762, allocations: 91.3 kB / 0.819 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.7777, allocations: 1.093 MB / 0.8201 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009203/0.7786, allocations: 61.55 kB / 0.8201 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.7787, allocations: 24.47 kB / 0.8201 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008273/0.7795, allocations: 0.5177 MB / 0.8206 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005961/0.7801, allocations: 0.4987 MB / 0.8211 GB, free: 132 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000881/0.781, allocations: 0.604 MB / 0.8217 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.781, allocations: 3.938 kB / 0.8217 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001716/0.7827, allocations: 0.897 MB / 0.8226 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.7828, allocations: 37.73 kB / 0.8226 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.7828, allocations: 5.344 kB / 0.8226 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005288/0.7833, allocations: 233.4 kB / 0.8229 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.7837, allocations: 84.33 kB / 0.8229 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/0.7876, allocations: 3.293 MB / 0.8262 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.7887, allocations: 79.39 kB / 0.8262 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.7888, allocations: 24.78 kB / 0.8263 GB, free: 12.39 MB / 0.6075 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.789, allocations: 212.4 kB / 0.8265 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.7893, allocations: 113.1 kB / 0.8266 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.7908, allocations: 0.7664 MB / 0.8273 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.7909, allocations: 6.75 kB / 0.8273 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.7909, allocations: 6.094 kB / 0.8273 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.7909, allocations: 7.922 kB / 0.8273 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.7939, allocations: 1.72 MB / 0.829 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.7939, allocations: 4.219 kB / 0.829 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.7942, allocations: 49.61 kB / 0.8291 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/0.7947, allocations: 279.2 kB / 0.8293 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.7948, allocations: 8.844 kB / 0.8293 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.7959, allocations: 1.037 MB / 0.8304 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7959, allocations: 2.781 kB / 0.8304 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.7973, allocations: 0.8927 MB / 0.8312 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/0.7978, allocations: 222.7 kB / 0.8314 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.798, allocations: 7 kB / 0.8315 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.7987, allocations: 36.88 kB / 0.8315 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.7988, allocations: 39.03 kB / 0.8315 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.7989, allocations: 7.906 kB / 0.8315 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001276/0.8001, allocations: 0.8183 MB / 0.8323 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8002, allocations: 0 / 0.8323 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001601/0.8018, allocations: 459.5 kB / 0.8328 GB, free: 8.027 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005116/0.8023, allocations: 176 kB / 0.8329 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002887/0.8052, allocations: 1.282 MB / 0.8342 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8052, allocations: 0 / 0.8342 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.8059, allocations: 300.2 kB / 0.8345 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/0.8084, allocations: 0.4938 MB / 0.835 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.812, allocations: 1.932 MB / 0.8368 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008423/0.8128, allocations: 1.185 MB / 0.838 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.8131, allocations: 67.42 kB / 0.8381 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/0.8131, allocations: 7.938 kB / 0.8381 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.03135/0.8444, allocations: 21.43 MB / 0.859 GB, free: 13.15 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)