Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7582/0.7582, allocations: 127.4 MB / 134.9 MB, free: 3.477 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 182.5 kB / 164.6 MB, free: 11.58 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 91.25 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.72e-05, allocations: 5.156 kB / 0.5467 GB, free: 95.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1781, allocations: 76.77 MB / 0.6216 GB, free: 42.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.517/5.695, allocations: 2.141 GB / 2.763 GB, free: 189 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/5.695, allocations: 94.69 kB / 2.763 GB, free: 189 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.299/11.99, allocations: 1.753 GB / 4.516 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/11.99, allocations: 1.25 kB / 4.516 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001301/11.99, allocations: 33.42 kB / 4.516 GB, free: 167.3 MB / 0.6511 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.002199/12, allocations: 1.147 MB / 4.517 GB, free: 166.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/12, allocations: 10.91 kB / 4.517 GB, free: 166.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008629/12, allocations: 187.5 kB / 4.517 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/12, allocations: 1.117 MB / 4.518 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.917e-05/12, allocations: 16.91 kB / 4.518 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.868e-05/12, allocations: 35.62 kB / 4.518 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008562/12, allocations: 470.6 kB / 4.519 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/12, allocations: 0.6594 MB / 4.52 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/12, allocations: 4.75 kB / 4.52 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/12, allocations: 7.703 kB / 4.52 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/12, allocations: 17.02 kB / 4.52 GB, free: 166.3 MB / 0.6511 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.003913/12.01, allocations: 4.291 MB / 4.524 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/12.01, allocations: 468.7 kB / 4.524 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/12.01, allocations: 234.4 kB / 4.524 GB, free: 163.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002803/12.01, allocations: 190.2 kB / 4.525 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/12.01, allocations: 267.7 kB / 4.525 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 2.195e-06/12.01, allocations: 0 / 4.525 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.01153/12.02, allocations: 2.558 MB / 4.527 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/12.02, allocations: 83.17 kB / 4.527 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/12.02, allocations: 0.8404 MB / 4.528 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/12.02, allocations: 31.89 kB / 4.528 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/12.02, allocations: 0.492 MB / 4.529 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/12.02, allocations: 112 kB / 4.529 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/12.02, allocations: 0 / 4.529 GB, free: 162.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/12.02, allocations: 320 kB / 4.529 GB, free: 162 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/12.02, allocations: 303.7 kB / 4.53 GB, free: 162 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/12.02, allocations: 0.597 MB / 4.53 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/12.02, allocations: 355.4 kB / 4.53 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/12.02, allocations: 7.734 kB / 4.53 GB, free: 161.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.01017/12.03, allocations: 2.488 MB / 4.533 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006108/12.03, allocations: 2.036 MB / 4.535 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/12.03, allocations: 6 kB / 4.535 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009532/12.03, allocations: 0.5562 MB / 4.535 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/12.03, allocations: 61.56 kB / 4.535 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/12.04, allocations: 1.526 MB / 4.537 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/12.04, allocations: 157.6 kB / 4.537 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/12.04, allocations: 29.34 kB / 4.537 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/12.04, allocations: 5.719 kB / 4.537 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/12.04, allocations: 0.5862 MB / 4.538 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/12.04, allocations: 4.562 kB / 4.538 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/12.04, allocations: 199.4 kB / 4.538 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/12.04, allocations: 64.11 kB / 4.538 GB, free: 158.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/12.04, allocations: 2.977 MB / 4.541 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/12.04, allocations: 79.8 kB / 4.541 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/12.04, allocations: 19.16 kB / 4.541 GB, free: 157.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (33): * Single equations (assignments): 31 * 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.0002562/12.04, allocations: 126.8 kB / 4.541 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007969/12.05, allocations: 1.934 MB / 4.543 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/12.05, allocations: 91.69 kB / 4.543 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/12.05, allocations: 103.3 kB / 4.543 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/12.05, allocations: 4.25 kB / 4.543 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/12.05, allocations: 3.469 kB / 4.543 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/12.05, allocations: 3.188 kB / 4.543 GB, free: 157.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009666/12.06, allocations: 2.937 MB / 4.546 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/12.06, allocations: 3.812 kB / 4.546 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/12.06, allocations: 20.69 kB / 4.546 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007144/12.06, allocations: 0.5113 MB / 4.547 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.493e-05/12.06, allocations: 12.11 kB / 4.547 GB, free: 156.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/12.08, allocations: 6.864 MB / 4.553 GB, free: 155.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/12.08, allocations: 6.219 kB / 4.553 GB, free: 155.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007701/12.09, allocations: 2.136 MB / 4.555 GB, free: 154.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/12.09, allocations: 171.5 kB / 4.556 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000386/12.09, allocations: 3.812 kB / 4.556 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/12.09, allocations: 124.6 kB / 4.556 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/12.09, allocations: 42.45 kB / 4.556 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/12.09, allocations: 18.19 kB / 4.556 GB, free: 154.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001148/12.09, allocations: 0.6607 MB / 4.556 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/12.09, allocations: 0 / 4.556 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002834/12.09, allocations: 0.5447 MB / 4.557 GB, free: 154.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (11): * Single equations (assignments): 8 * 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.009988/12.1, allocations: 4.109 MB / 4.561 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002405/12.11, allocations: 1.226 MB / 4.562 GB, free: 153 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/12.11, allocations: 0 / 4.562 GB, free: 153 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008497/12.11, allocations: 0.5032 MB / 4.563 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/12.11, allocations: 396.6 kB / 4.563 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/12.11, allocations: 1.746 MB / 4.565 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007956/12.11, allocations: 1.21 MB / 4.566 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001835/12.12, allocations: 0.6533 MB / 4.567 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/12.12, allocations: 293.6 kB / 4.567 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/12.12, allocations: 0 / 4.567 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08192/12.2, allocations: 40.94 MB / 4.607 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/12.2, allocations: 197.4 kB / 4.607 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.49/15.69, allocations: 7.531 kB / 4.607 GB, free: 144.6 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)