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.0009877/0.0009876, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5053/0.5053, allocations: 90.92 MB / 99.35 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.5 MB / 343.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009408/0.0009412, allocations: 95.27 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.929e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1669, allocations: 72.32 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.414/4.581, allocations: 1.825 GB / 2.378 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/4.582, allocations: 94.56 kB / 2.378 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.108/10.69, allocations: 1.794 GB / 4.172 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.492e-06/10.69, allocations: 4.641 kB / 4.172 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.463e-05/10.69, allocations: 30.28 kB / 4.172 GB, free: 160.2 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.00168/10.69, allocations: 1.155 MB / 4.173 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/10.69, allocations: 15.08 kB / 4.173 GB, free: 159.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006991/10.69, allocations: 174.5 kB / 4.174 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/10.69, allocations: 1.113 MB / 4.175 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/10.69, allocations: 14.25 kB / 4.175 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/10.69, allocations: 45.45 kB / 4.175 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006228/10.69, allocations: 467.9 kB / 4.175 GB, free: 159.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007698/10.7, allocations: 0.6689 MB / 4.176 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/10.7, allocations: 11.09 kB / 4.176 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/10.7, allocations: 0 / 4.176 GB, free: 159 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/10.7, allocations: 13.81 kB / 4.176 GB, free: 159 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.003094/10.7, allocations: 4.469 MB / 4.18 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/10.7, allocations: 440 kB / 4.181 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/10.7, allocations: 238.5 kB / 4.181 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/10.7, allocations: 197.5 kB / 4.181 GB, free: 155.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/10.7, allocations: 258 kB / 4.181 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/10.7, allocations: 0 / 4.181 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001546/10.7, allocations: 0.7488 MB / 4.182 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/10.7, allocations: 81.92 kB / 4.182 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008331/10.7, allocations: 0.8526 MB / 4.183 GB, free: 155 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/10.7, allocations: 32.45 kB / 4.183 GB, free: 155 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/10.7, allocations: 488.2 kB / 4.183 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.073e-05/10.7, allocations: 104 kB / 4.184 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/10.7, allocations: 0 / 4.184 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.726e-05/10.7, allocations: 332.8 kB / 4.184 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/10.7, allocations: 184.4 kB / 4.184 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/10.7, allocations: 0.4915 MB / 4.185 GB, free: 154 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/10.7, allocations: 266 kB / 4.185 GB, free: 154 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/10.7, allocations: 0.7656 kB / 4.185 GB, free: 154 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001348/10.71, allocations: 0.8861 MB / 4.186 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003798/10.71, allocations: 2.135 MB / 4.188 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/10.71, allocations: 3.781 kB / 4.188 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/10.71, allocations: 227.5 kB / 4.188 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/10.71, allocations: 60.03 kB / 4.188 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008402/10.71, allocations: 1.103 MB / 4.189 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/10.71, allocations: 92.94 kB / 4.189 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/10.71, allocations: 26.94 kB / 4.189 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/10.71, allocations: 3.625 kB / 4.189 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009362/10.71, allocations: 0.591 MB / 4.19 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/10.71, allocations: 6.781 kB / 4.19 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/10.71, allocations: 196.5 kB / 4.19 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/10.71, allocations: 65.59 kB / 4.19 GB, free: 150.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/10.71, allocations: 2.966 MB / 4.193 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/10.71, allocations: 83.05 kB / 4.193 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/10.71, allocations: 26.55 kB / 4.193 GB, free: 148.5 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.0001362/10.71, allocations: 117.7 kB / 4.193 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007793/10.71, allocations: 0.6077 MB / 4.194 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/10.71, allocations: 95.11 kB / 4.194 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/10.72, allocations: 0.6446 MB / 4.194 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/10.72, allocations: 3.812 kB / 4.194 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/10.72, allocations: 0 / 4.194 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/10.72, allocations: 3.938 kB / 4.194 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/10.72, allocations: 1.469 MB / 4.196 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/10.72, allocations: 3.938 kB / 4.196 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/10.72, allocations: 29.91 kB / 4.196 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/10.72, allocations: 180.8 kB / 4.196 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/10.72, allocations: 7.781 kB / 4.196 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006337/10.72, allocations: 0.9833 MB / 4.197 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/10.72, allocations: 3.906 kB / 4.197 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/10.72, allocations: 0.8439 MB / 4.198 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/10.72, allocations: 216 kB / 4.198 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.466e-05/10.72, allocations: 7.75 kB / 4.198 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/10.72, allocations: 47.14 kB / 4.198 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/10.72, allocations: 32.47 kB / 4.198 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/10.72, allocations: 15.5 kB / 4.198 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006344/10.72, allocations: 0.6628 MB / 4.199 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/10.72, allocations: 0 / 4.199 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001327/10.72, allocations: 492.5 kB / 4.199 GB, free: 145.4 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.002057/10.72, allocations: 2.777 MB / 4.202 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001325/10.73, allocations: 0.9902 MB / 4.203 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/10.73, allocations: 0 / 4.203 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/10.73, allocations: 206.2 kB / 4.203 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/10.73, allocations: 401.6 kB / 4.204 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/10.73, allocations: 1.602 MB / 4.205 GB, free: 142.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/10.73, allocations: 1.205 MB / 4.206 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001498/10.73, allocations: 0.6512 MB / 4.207 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/10.73, allocations: 288.1 kB / 4.207 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/10.73, allocations: 0 / 4.207 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/10.79, allocations: 32.52 MB / 4.239 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/10.79, allocations: 182.6 kB / 4.239 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/13.7, allocations: 4 kB / 4.239 GB, free: 116.5 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)