Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 104 kB / 16.94 MB, free: 6.191 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.001251/0.001251, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.413/1.413, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8238/0.8238, allocations: 125.4 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 67.89 kB / 0.4948 GB, free: 4.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4068, allocations: 78.56 MB / 0.5715 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1904/0.5973, allocations: 161.6 MB / 0.7293 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005818/0.6032, allocations: 3.628 MB / 0.7329 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.6037, allocations: 11.94 kB / 0.7329 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006871/0.6044, allocations: 166.9 kB / 0.733 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.606, allocations: 0.5289 MB / 0.7336 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.6073, allocations: 423 kB / 0.734 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003014/0.6104, allocations: 2.511 MB / 0.7364 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.6118, allocations: 0.941 MB / 0.7373 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.6141, allocations: 1.168 MB / 0.7385 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.6152, allocations: 0.6805 MB / 0.7391 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.6154, allocations: 56 kB / 0.7392 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.617, allocations: 0.729 MB / 0.7399 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003989/0.6174, allocations: 302.9 kB / 0.7402 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.6183, allocations: 0.5401 MB / 0.7407 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.6202, allocations: 1.386 MB / 0.7421 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6202, allocations: 0 / 0.7421 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6203, allocations: 0 / 0.7421 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.6203, allocations: 0 / 0.7421 GB, free: 8.312 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002653/0.6229, allocations: 1.458 MB / 0.7435 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.623, allocations: 12.03 kB / 0.7435 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.6238, allocations: 186.5 kB / 0.7437 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.6252, allocations: 0.8022 MB / 0.7445 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.6253, allocations: 41 kB / 0.7445 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.6254, allocations: 60 kB / 0.7446 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.6268, allocations: 0.7849 MB / 0.7453 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.6268, allocations: 7.938 kB / 0.7453 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.6269, allocations: 27.92 kB / 0.7454 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.6269, allocations: 16 kB / 0.7454 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000976/0.6279, allocations: 0.5383 MB / 0.7459 GB, free: 4.184 MB / 0.5762 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.3067/0.9346, allocations: 4.59 MB / 0.7504 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009244/0.9356, allocations: 416.4 kB / 0.7508 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.936, allocations: 245 kB / 0.751 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.9363, allocations: 195.8 kB / 0.7512 GB, free: 169 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000608/0.9369, allocations: 299.6 kB / 0.7515 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.285e-06/0.937, allocations: 0.5938 kB / 0.7515 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004353/0.9413, allocations: 1.318 MB / 0.7528 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.9414, allocations: 82.47 kB / 0.7529 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.9433, allocations: 1.119 MB / 0.754 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.9434, allocations: 40.5 kB / 0.754 GB, free: 168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004199/0.9438, allocations: 494.3 kB / 0.7545 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.155e-05/0.9439, allocations: 111.9 kB / 0.7546 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/0.9441, allocations: 115.5 kB / 0.7547 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.206e-05/0.9442, allocations: 325.6 kB / 0.755 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/0.9446, allocations: 213.9 kB / 0.7552 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.9452, allocations: 0.5179 MB / 0.7557 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.9463, allocations: 0.6298 MB / 0.7563 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.9463, allocations: 1.75 kB / 0.7563 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002699/0.949, allocations: 1.038 MB / 0.7573 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.949, allocations: 35.34 kB / 0.7574 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.9491, allocations: 10.25 kB / 0.7574 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.9505, allocations: 361.8 kB / 0.7577 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.9507, allocations: 65.8 kB / 0.7578 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009682/0.9517, allocations: 1.008 MB / 0.7588 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007277/0.9525, allocations: 76.28 kB / 0.7588 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.9525, allocations: 27.39 kB / 0.7589 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000692/0.9532, allocations: 0.4971 MB / 0.7594 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004583/0.9537, allocations: 497 kB / 0.7598 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006825/0.9544, allocations: 0.5587 MB / 0.7604 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.379e-06/0.9544, allocations: 2.125 kB / 0.7604 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001506/0.9559, allocations: 0.8357 MB / 0.7612 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.9559, allocations: 38.67 kB / 0.7612 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.956, allocations: 4.438 kB / 0.7612 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004814/0.9564, allocations: 209.1 kB / 0.7614 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.9567, allocations: 57.62 kB / 0.7615 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.9598, allocations: 3.348 MB / 0.7648 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/0.9606, allocations: 67.42 kB / 0.7648 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.9607, allocations: 28.31 kB / 0.7648 GB, free: 161.1 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 (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 (34): * Single equations (assignments): 32 * 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.9609, allocations: 214.6 kB / 0.765 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.961, allocations: 102.6 kB / 0.7651 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.9623, allocations: 0.7055 MB / 0.7658 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.9623, allocations: 4.031 kB / 0.7658 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.9623, allocations: 1.438 kB / 0.7658 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9623, allocations: 0 / 0.7658 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.9648, allocations: 1.612 MB / 0.7674 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.9648, allocations: 1.719 kB / 0.7674 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.965, allocations: 23.92 kB / 0.7674 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.9654, allocations: 224 kB / 0.7677 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.9654, allocations: 9.594 kB / 0.7677 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008472/0.9663, allocations: 0.9853 MB / 0.7686 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9663, allocations: 3.219 kB / 0.7686 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.9675, allocations: 0.8192 MB / 0.7694 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.9678, allocations: 215.5 kB / 0.7696 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.9679, allocations: 12.06 kB / 0.7696 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.9683, allocations: 24.56 kB / 0.7697 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.9684, allocations: 32.91 kB / 0.7697 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.9684, allocations: 16.3 kB / 0.7697 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009369/0.9694, allocations: 0.7924 MB / 0.7705 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.9694, allocations: 0 / 0.7705 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001312/0.9707, allocations: 431 kB / 0.7709 GB, free: 157.2 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004397/0.9712, allocations: 174.2 kB / 0.7711 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.9731, allocations: 1.084 MB / 0.7721 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9731, allocations: 0 / 0.7721 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.9736, allocations: 224.1 kB / 0.7723 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.9755, allocations: 457 kB / 0.7728 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.9784, allocations: 1.828 MB / 0.7746 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005236/0.9789, allocations: 1.186 MB / 0.7757 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.979, allocations: 66.36 kB / 0.7758 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/0.979, allocations: 0 / 0.7758 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02186/1.001, allocations: 20.33 MB / 0.7956 GB, free: 135.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)