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.7061/0.7061, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 184.7 kB / 169.7 MB, free: 1.742 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.7/1.7, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.0009364/0.0009366, allocations: 94.16 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.042e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1627, allocations: 76.76 MB / 0.6283 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.326/5.489, allocations: 2.142 GB / 2.77 GB, free: 73.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/5.489, allocations: 91.94 kB / 2.77 GB, free: 73.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.279/11.77, allocations: 1.772 GB / 4.542 GB, free: 35.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.705e-06/11.77, allocations: 0 / 4.542 GB, free: 35.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001217/11.77, allocations: 35.92 kB / 4.542 GB, free: 35.04 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.00186/11.77, allocations: 1.148 MB / 4.543 GB, free: 33.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/11.77, allocations: 11.97 kB / 4.543 GB, free: 33.83 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/11.77, allocations: 94.52 kB / 4.543 GB, free: 33.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/11.77, allocations: 186.5 kB / 4.543 GB, free: 33.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/11.77, allocations: 1.119 MB / 4.544 GB, free: 32.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.971e-05/11.77, allocations: 45 kB / 4.544 GB, free: 32.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/11.77, allocations: 60 kB / 4.544 GB, free: 32.28 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/11.78, allocations: 1.144 MB / 4.546 GB, free: 31.06 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/11.78, allocations: 0 / 4.546 GB, free: 31.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/11.78, allocations: 23.95 kB / 4.546 GB, free: 31.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/11.78, allocations: 15.94 kB / 4.546 GB, free: 31.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002519/11.78, allocations: 0.8779 MB / 4.546 GB, free: 30.15 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.004058/11.78, allocations: 4.423 MB / 4.551 GB, free: 25.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002515/11.79, allocations: 0.826 MB / 4.552 GB, free: 24.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/11.79, allocations: 218 kB / 4.552 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/11.79, allocations: 190.2 kB / 4.552 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/11.79, allocations: 0.6846 MB / 4.553 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/11.79, allocations: 0 / 4.553 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.01099/11.8, allocations: 2.599 MB / 4.555 GB, free: 20.76 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/11.8, allocations: 81.11 kB / 4.555 GB, free: 20.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/11.8, allocations: 0.9763 MB / 4.556 GB, free: 19.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/11.8, allocations: 33.7 kB / 4.556 GB, free: 19.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/11.8, allocations: 0.4962 MB / 4.557 GB, free: 19.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/11.8, allocations: 110.5 kB / 4.557 GB, free: 19.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/11.8, allocations: 8 kB / 4.557 GB, free: 19.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.709e-05/11.8, allocations: 329.9 kB / 4.557 GB, free: 18.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/11.8, allocations: 284.7 kB / 4.557 GB, free: 18.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/11.8, allocations: 0.5986 MB / 4.558 GB, free: 17.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/11.8, allocations: 359.2 kB / 4.558 GB, free: 17.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/11.8, allocations: 4 kB / 4.558 GB, free: 17.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.007712/11.81, allocations: 2.181 MB / 4.561 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004497/11.81, allocations: 2.044 MB / 4.563 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/11.81, allocations: 4 kB / 4.563 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008643/11.81, allocations: 0.5245 MB / 4.563 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/11.81, allocations: 71.83 kB / 4.563 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/11.81, allocations: 1.39 MB / 4.564 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/11.82, allocations: 171.4 kB / 4.565 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.217e-05/11.82, allocations: 27.98 kB / 4.565 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/11.82, allocations: 8.578 kB / 4.565 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/11.82, allocations: 0.6773 MB / 4.565 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/11.82, allocations: 7.938 kB / 4.565 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/11.82, allocations: 209.2 kB / 4.566 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/11.82, allocations: 63.91 kB / 4.566 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/11.82, allocations: 3.076 MB / 4.569 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008504/11.82, allocations: 99.53 kB / 4.569 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/11.82, allocations: 20 kB / 4.569 GB, free: 6.367 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.0001708/11.82, allocations: 144.8 kB / 4.569 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/11.82, allocations: 94.88 kB / 4.569 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/11.82, allocations: 109.7 kB / 4.569 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/11.82, allocations: 4 kB / 4.569 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/11.82, allocations: 0 / 4.569 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/11.82, allocations: 3.984 kB / 4.569 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008705/11.83, allocations: 3.019 MB / 4.572 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/11.83, allocations: 4 kB / 4.572 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/11.83, allocations: 32.11 kB / 4.572 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007185/11.83, allocations: 0.5199 MB / 4.573 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/11.83, allocations: 11.98 kB / 4.573 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4488/12.28, allocations: 7.013 MB / 4.579 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/12.28, allocations: 1.844 kB / 4.579 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008898/12.29, allocations: 2.185 MB / 4.582 GB, free: 169.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006458/12.29, allocations: 184 kB / 4.582 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/12.29, allocations: 8.078 kB / 4.582 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009627/12.29, allocations: 125.3 kB / 4.582 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/12.29, allocations: 43.12 kB / 4.582 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/12.29, allocations: 19.17 kB / 4.582 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001454/12.29, allocations: 0.7671 MB / 4.583 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.5e-07/12.29, allocations: 1.406 kB / 4.583 GB, free: 169.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002466/12.3, allocations: 0.5845 MB / 4.583 GB, free: 169.4 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.01155/12.31, allocations: 3.997 MB / 4.587 GB, free: 168 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002782/12.31, allocations: 1.252 MB / 4.588 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/12.31, allocations: 0 / 4.588 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001/12.31, allocations: 0.5235 MB / 4.589 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/12.31, allocations: 472 kB / 4.589 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003858/12.32, allocations: 1.789 MB / 4.591 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009675/12.32, allocations: 1.209 MB / 4.592 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002146/12.32, allocations: 0.6859 MB / 4.593 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003732/12.32, allocations: 300.1 kB / 4.593 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.824e-06/12.32, allocations: 1.156 kB / 4.593 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/12.43, allocations: 55.49 MB / 4.647 GB, free: 159.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/12.43, allocations: 242 kB / 4.648 GB, free: 159.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/16.06, allocations: 0 / 4.648 GB, free: 159.4 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)