Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.00127/0.00127, allocations: 96.81 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 172.3 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.586/2.586, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.275/1.275, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004954, allocations: 12.97 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.9509/1.221, allocations: 140.5 MB / 0.6939 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008021/1.229, allocations: 3.595 MB / 0.6974 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/1.23, allocations: 19.81 kB / 0.6974 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/1.231, allocations: 231 kB / 0.6976 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003403/1.234, allocations: 0.6972 MB / 0.6983 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/1.236, allocations: 489.3 kB / 0.6988 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00334/1.24, allocations: 1.642 MB / 0.7004 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004428/1.244, allocations: 2.325 MB / 0.7027 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/1.247, allocations: 0.8605 MB / 0.7035 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/1.249, allocations: 0.5992 MB / 0.7041 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/1.249, allocations: 48 kB / 0.7041 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/1.251, allocations: 459.3 kB / 0.7046 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004549/1.251, allocations: 314.9 kB / 0.7049 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005309/1.252, allocations: 249.1 kB / 0.7051 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/1.254, allocations: 1.127 MB / 0.7062 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.254, allocations: 0 / 0.7062 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.895e-06/1.254, allocations: 0 / 0.7062 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.111e-05/1.254, allocations: 0 / 0.7062 GB, free: 1.012 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004016/1.258, allocations: 1.505 MB / 0.7077 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.509e-05/1.258, allocations: 8.031 kB / 0.7077 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002436/1.258, allocations: 102.5 kB / 0.7078 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/1.259, allocations: 194.4 kB / 0.708 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/1.262, allocations: 0.8794 MB / 0.7088 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/1.262, allocations: 53.3 kB / 0.7089 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.262, allocations: 64 kB / 0.7089 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/1.264, allocations: 0.9831 MB / 0.7099 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.265, allocations: 3.938 kB / 0.7099 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/1.265, allocations: 24 kB / 0.7099 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/1.265, allocations: 12 kB / 0.7099 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/1.267, allocations: 0.8038 MB / 0.7107 GB, free: 12.19 MB / 0.5294 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.007764/1.274, allocations: 4.812 MB / 0.7154 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00504/1.279, allocations: 4.021 MB / 0.7194 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/1.28, allocations: 20.25 kB / 0.7194 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/1.281, allocations: 341.9 kB / 0.7197 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001205/1.282, allocations: 27.69 kB / 0.7197 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 5.501e-06/1.282, allocations: 0 / 0.7197 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.007989/1.29, allocations: 1.74 MB / 0.7214 GB, free: 8 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.29, allocations: 118.7 kB / 0.7215 GB, free: 15.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/1.293, allocations: 1.181 MB / 0.7227 GB, free: 14.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/1.293, allocations: 37.7 kB / 0.7227 GB, free: 14.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008855/1.294, allocations: 0.5122 MB / 0.7232 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/1.294, allocations: 122.3 kB / 0.7233 GB, free: 13.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/1.294, allocations: 8 kB / 0.7234 GB, free: 13.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000279/1.295, allocations: 326 kB / 0.7237 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006841/1.295, allocations: 205 kB / 0.7239 GB, free: 13.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009551/1.296, allocations: 0.5371 MB / 0.7244 GB, free: 12.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/1.297, allocations: 313.5 kB / 0.7247 GB, free: 12.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/1.297, allocations: 4 kB / 0.7247 GB, free: 12.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003964/1.301, allocations: 1.092 MB / 0.7258 GB, free: 11.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001907/1.303, allocations: 2.138 MB / 0.7278 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.303, allocations: 8 kB / 0.7278 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/1.305, allocations: 374.2 kB / 0.7282 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/1.306, allocations: 75.83 kB / 0.7283 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/1.308, allocations: 1.051 MB / 0.7293 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.31, allocations: 99.8 kB / 0.7294 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/1.31, allocations: 24 kB / 0.7294 GB, free: 7.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.31, allocations: 4 kB / 0.7294 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002275/1.312, allocations: 0.8215 MB / 0.7302 GB, free: 6.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.312, allocations: 4 kB / 0.7302 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009853/1.313, allocations: 265.1 kB / 0.7305 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/1.314, allocations: 75.83 kB / 0.7306 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006578/1.32, allocations: 3.18 MB / 0.7337 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.322, allocations: 103.8 kB / 0.7338 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/1.322, allocations: 23.94 kB / 0.7338 GB, free: 2.805 MB / 0.545 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.001183/1.324, allocations: 484.6 kB / 0.7342 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/1.324, allocations: 106.7 kB / 0.7343 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/1.326, allocations: 0.7952 MB / 0.7351 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.326, allocations: 7.984 kB / 0.7351 GB, free: 1.402 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.326, allocations: 4 kB / 0.7351 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.326, allocations: 0 / 0.7351 GB, free: 1.398 MB / 0.545 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 postOpt removeSimpleEquations (simulation): time 0.005543/1.332, allocations: 2.245 MB / 0.7373 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.332, allocations: 4.219 kB / 0.7373 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/1.332, allocations: 55.89 kB / 0.7374 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007772/1.333, allocations: 200.7 kB / 0.7376 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/1.333, allocations: 8 kB / 0.7376 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/1.334, allocations: 0.8878 MB / 0.7385 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.334, allocations: 4.031 kB / 0.7385 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/1.337, allocations: 0.9761 MB / 0.7394 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000833/1.338, allocations: 231.7 kB / 0.7396 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/1.338, allocations: 11.98 kB / 0.7396 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009998/1.339, allocations: 79.81 kB / 0.7397 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.339, allocations: 43.88 kB / 0.7398 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/1.339, allocations: 15.98 kB / 0.7398 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001877/1.341, allocations: 0.825 MB / 0.7406 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.341, allocations: 0 / 0.7406 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002492/1.343, allocations: 0.511 MB / 0.7411 GB, free: 11.04 MB / 0.5606 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003247/1.347, allocations: 1.973 MB / 0.743 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003195/1.35, allocations: 1.137 MB / 0.7441 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.35, allocations: 0 / 0.7441 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007302/1.351, allocations: 263.6 kB / 0.7444 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/1.356, allocations: 0.6492 MB / 0.745 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/1.381, allocations: 10.35 MB / 0.7551 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.382, allocations: 1.232 MB / 0.7563 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00179/1.384, allocations: 328.6 kB / 0.7566 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/1.384, allocations: 359.3 kB / 0.757 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of SimCode: time 2.144e-06/1.384, allocations: 0 / 0.757 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.492, allocations: 31.59 MB / 0.7878 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004215/1.493, allocations: 282.3 kB / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.249/5.742, allocations: 0 / 0.7881 GB, free: 10.85 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: