Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000853/0.0008532, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001067/0.001067, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9639/0.9639, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002915, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 83.42 MB / 0.5975 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4491/0.594, allocations: 146.8 MB / 0.7409 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.5968, allocations: 1.661 MB / 0.7425 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.5972, allocations: 7.188 kB / 0.7425 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.5977, allocations: 107 kB / 0.7426 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.5993, allocations: 390.6 kB / 0.743 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.6006, allocations: 329.2 kB / 0.7433 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003254/0.6039, allocations: 2.99 MB / 0.7462 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.605, allocations: 0.6903 MB / 0.7469 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.6069, allocations: 0.8608 MB / 0.7477 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.6082, allocations: 0.7079 MB / 0.7484 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.6085, allocations: 36 kB / 0.7484 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.6103, allocations: 0.5535 MB / 0.749 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.6108, allocations: 279 kB / 0.7492 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005209/0.6113, allocations: 229.1 kB / 0.7495 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.6129, allocations: 1.056 MB / 0.7505 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6129, allocations: 0 / 0.7505 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.576e-06/0.6129, allocations: 0 / 0.7505 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.925e-05/0.613, allocations: 7.938 kB / 0.7505 GB, free: 15.47 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002636/0.6156, allocations: 1.303 MB / 0.7518 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.6157, allocations: 11.97 kB / 0.7518 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002884/0.616, allocations: 94.52 kB / 0.7519 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6172, allocations: 186.5 kB / 0.7521 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.6193, allocations: 0.7972 MB / 0.7528 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.6194, allocations: 48.95 kB / 0.7529 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.6195, allocations: 56 kB / 0.7529 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.621, allocations: 0.8005 MB / 0.7537 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.621, allocations: 7.875 kB / 0.7537 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.6211, allocations: 24 kB / 0.7537 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.6211, allocations: 12 kB / 0.7538 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009481/0.622, allocations: 0.5462 MB / 0.7543 GB, free: 11.39 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.004384/0.6264, allocations: 4.607 MB / 0.7588 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.6271, allocations: 418.3 kB / 0.7592 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.6275, allocations: 252.6 kB / 0.7594 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.6278, allocations: 194.2 kB / 0.7596 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004632/0.6283, allocations: 300.3 kB / 0.7599 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.913e-06/0.6283, allocations: 0 / 0.7599 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001336/0.6296, allocations: 0.6442 MB / 0.7605 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.6297, allocations: 81.11 kB / 0.7606 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.6311, allocations: 1.114 MB / 0.7617 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.6311, allocations: 37.7 kB / 0.7617 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.6315, allocations: 488.1 kB / 0.7622 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/0.6317, allocations: 110.5 kB / 0.7623 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.6317, allocations: 8 kB / 0.7623 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6318, allocations: 334 kB / 0.7626 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.6321, allocations: 180.9 kB / 0.7628 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/0.6327, allocations: 0.4979 MB / 0.7633 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/0.6331, allocations: 304.8 kB / 0.7636 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6331, allocations: 0 / 0.7636 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001233/0.6343, allocations: 0.6771 MB / 0.7642 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.6346, allocations: 283.1 kB / 0.7645 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.6346, allocations: 4 kB / 0.7645 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.6346, allocations: 8 kB / 0.7645 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.635, allocations: 111.8 kB / 0.7646 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.635, allocations: 19.92 kB / 0.7646 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/0.6357, allocations: 99.41 kB / 0.7647 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.6358, allocations: 28.73 kB / 0.7648 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/0.6358, allocations: 4 kB / 0.7648 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008287/0.6367, allocations: 0.5378 MB / 0.7653 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.6367, allocations: 8.594 kB / 0.7653 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.6367, allocations: 8 kB / 0.7653 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003379/0.637, allocations: 111.8 kB / 0.7654 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.6371, allocations: 11.94 kB / 0.7654 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006154/0.6377, allocations: 100.4 kB / 0.7655 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.6377, allocations: 20 kB / 0.7655 GB, free: 15.12 MB / 0.5919 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004662/0.6382, allocations: 478.3 kB / 0.766 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6384, allocations: 102.8 kB / 0.7661 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008568/0.6392, allocations: 0.4909 MB / 0.7666 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6392, allocations: 4 kB / 0.7666 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6392, allocations: 4 kB / 0.7666 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6393, allocations: 0 / 0.7666 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.6412, allocations: 1.403 MB / 0.768 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6412, allocations: 6.188 kB / 0.768 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.6414, allocations: 63.89 kB / 0.768 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.6414, allocations: 7.953 kB / 0.768 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.6415, allocations: 12.22 kB / 0.768 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.6415, allocations: 4 kB / 0.768 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6415, allocations: 4 kB / 0.768 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/0.6423, allocations: 0.617 MB / 0.7686 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.6426, allocations: 219.8 kB / 0.7689 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.6427, allocations: 11.95 kB / 0.7689 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.6432, allocations: 55.8 kB / 0.7689 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.6432, allocations: 31.95 kB / 0.769 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.6433, allocations: 19.94 kB / 0.769 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000944/0.6442, allocations: 0.7836 MB / 0.7697 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.6442, allocations: 3.938 kB / 0.7697 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001069/0.6453, allocations: 411.4 kB / 0.7701 GB, free: 10.26 MB / 0.5919 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/0.6467, allocations: 1.235 MB / 0.7713 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.648, allocations: 0.8026 MB / 0.7721 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.648, allocations: 0 / 0.7721 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003462/0.6483, allocations: 209.3 kB / 0.7723 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.6502, allocations: 457.5 kB / 0.7728 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.6614, allocations: 6.24 MB / 0.7789 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.6622, allocations: 1.181 MB / 0.78 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001163/0.6633, allocations: 432.6 kB / 0.7804 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.6638, allocations: 323.3 kB / 0.7807 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.6638, allocations: 0 / 0.7807 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04924/0.7131, allocations: 25.6 MB / 0.8057 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.7133, allocations: 258 kB / 0.806 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.911, allocations: 0 / 0.806 GB, free: 5.547 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: