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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 182 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5131/0.5131, allocations: 90.81 MB / 104.5 MB, free: 13.87 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.3 MB / 348.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 89.84 kB / 421.1 MB, free: 5.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.117e-05, allocations: 7.984 kB / 0.4897 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1625, allocations: 72.31 MB / 0.5603 GB, free: 6.34 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.79/4.952, allocations: 1.825 GB / 2.386 GB, free: 75.25 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/4.953, allocations: 91.94 kB / 2.386 GB, free: 75.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.89/11.84, allocations: 1.813 GB / 4.198 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/11.84, allocations: 0 / 4.198 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001768/11.84, allocations: 31.98 kB / 4.198 GB, free: 109.9 MB / 0.6042 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.003145/11.85, allocations: 1.157 MB / 4.199 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/11.85, allocations: 15.98 kB / 4.199 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002776/11.85, allocations: 102.4 kB / 4.199 GB, free: 108.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/11.85, allocations: 183.2 kB / 4.2 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/11.85, allocations: 1.104 MB / 4.201 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/11.85, allocations: 45 kB / 4.201 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/11.85, allocations: 60 kB / 4.201 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/11.85, allocations: 0.7338 MB / 4.202 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/11.85, allocations: 11.92 kB / 4.202 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/11.85, allocations: 24 kB / 4.202 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/11.85, allocations: 12 kB / 4.202 GB, free: 106.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/11.85, allocations: 474.6 kB / 4.202 GB, free: 105.8 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004861/11.86, allocations: 4.602 MB / 4.206 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/11.86, allocations: 378.6 kB / 4.207 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/11.86, allocations: 220 kB / 4.207 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/11.86, allocations: 198.1 kB / 4.207 GB, free: 100 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000393/11.86, allocations: 267.3 kB / 4.208 GB, free: 99.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.416e-06/11.86, allocations: 4 kB / 4.208 GB, free: 99.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001659/11.86, allocations: 0.662 MB / 4.208 GB, free: 99.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/11.86, allocations: 85.05 kB / 4.208 GB, free: 98.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/11.86, allocations: 0.9728 MB / 4.209 GB, free: 97.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/11.86, allocations: 37.7 kB / 4.209 GB, free: 97.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/11.86, allocations: 496.5 kB / 4.21 GB, free: 97.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.607e-05/11.86, allocations: 110.5 kB / 4.21 GB, free: 97.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/11.86, allocations: 4 kB / 4.21 GB, free: 97.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.526e-05/11.86, allocations: 326 kB / 4.21 GB, free: 96.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/11.86, allocations: 168.8 kB / 4.21 GB, free: 96.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/11.86, allocations: 493.4 kB / 4.211 GB, free: 96.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/11.86, allocations: 275.5 kB / 4.211 GB, free: 95.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/11.86, allocations: 0 / 4.211 GB, free: 95.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001263/11.87, allocations: 0.8532 MB / 4.212 GB, free: 95.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004486/11.87, allocations: 2.129 MB / 4.214 GB, free: 92.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/11.87, allocations: 4 kB / 4.214 GB, free: 92.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005243/11.87, allocations: 236.5 kB / 4.214 GB, free: 92.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/11.87, allocations: 68.06 kB / 4.214 GB, free: 92.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008257/11.87, allocations: 0.9993 MB / 4.215 GB, free: 91.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/11.87, allocations: 107.4 kB / 4.215 GB, free: 91.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/11.87, allocations: 27.98 kB / 4.215 GB, free: 91.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/11.87, allocations: 4 kB / 4.215 GB, free: 91.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001082/11.87, allocations: 0.6776 MB / 4.216 GB, free: 90.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/11.87, allocations: 4 kB / 4.216 GB, free: 90.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004634/11.87, allocations: 216.8 kB / 4.216 GB, free: 90.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/11.87, allocations: 55.91 kB / 4.216 GB, free: 90.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/11.87, allocations: 3.086 MB / 4.219 GB, free: 87.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/11.88, allocations: 95.59 kB / 4.219 GB, free: 86.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/11.88, allocations: 23.98 kB / 4.219 GB, free: 86.97 MB / 0.6042 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete 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 (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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002957/11.88, allocations: 140.8 kB / 4.22 GB, free: 86.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/11.88, allocations: 106.7 kB / 4.22 GB, free: 86.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/11.88, allocations: 0.6673 MB / 4.22 GB, free: 86.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/11.88, allocations: 4 kB / 4.22 GB, free: 86.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/11.88, allocations: 0 / 4.22 GB, free: 86.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/11.88, allocations: 0 / 4.22 GB, free: 86.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002964/11.88, allocations: 1.57 MB / 4.222 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/11.88, allocations: 4.031 kB / 4.222 GB, free: 84.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/11.88, allocations: 23.98 kB / 4.222 GB, free: 84.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/11.88, allocations: 218.6 kB / 4.222 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/11.88, allocations: 11.98 kB / 4.222 GB, free: 84.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007491/11.88, allocations: 0.9698 MB / 4.223 GB, free: 83.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/11.88, allocations: 7.969 kB / 4.223 GB, free: 83.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/11.88, allocations: 0.8771 MB / 4.224 GB, free: 82.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005427/11.88, allocations: 215.8 kB / 4.224 GB, free: 81.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/11.88, allocations: 11.98 kB / 4.224 GB, free: 81.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008952/11.88, allocations: 51.86 kB / 4.224 GB, free: 81.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/11.88, allocations: 35.89 kB / 4.224 GB, free: 81.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/11.88, allocations: 16 kB / 4.224 GB, free: 81.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001065/11.89, allocations: 0.769 MB / 4.225 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/11.89, allocations: 3.938 kB / 4.225 GB, free: 81.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002041/11.89, allocations: 0.5191 MB / 4.225 GB, free: 80.52 MB / 0.6042 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) * 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 (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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002558/11.89, allocations: 2.672 MB / 4.228 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001671/11.89, allocations: 1.026 MB / 4.229 GB, free: 76.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/11.89, allocations: 4 kB / 4.229 GB, free: 76.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/11.89, allocations: 219 kB / 4.229 GB, free: 76.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/11.89, allocations: 460.1 kB / 4.23 GB, free: 76.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002816/11.9, allocations: 1.641 MB / 4.231 GB, free: 74.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/11.9, allocations: 1.206 MB / 4.232 GB, free: 73.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001885/11.9, allocations: 0.7412 MB / 4.233 GB, free: 72.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/11.9, allocations: 295.3 kB / 4.233 GB, free: 72.08 MB / 0.6042 GB Notification: Performance of SimCode: time 1.363e-06/11.9, allocations: 0 / 4.233 GB, free: 72.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07452/11.97, allocations: 46.35 MB / 4.279 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/11.97, allocations: 237.1 kB / 4.279 GB, free: 25.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.542/15.52, allocations: 0 / 4.279 GB, free: 25.7 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)