Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.001287/0.001287, allocations: 96.27 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.001824/0.001825, allocations: 176.6 kB / 16.57 MB, free: 6.859 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.846/2.846, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.278/1.278, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006779/0.0006782, allocations: 9.281 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2675, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.9489/1.216, allocations: 140.5 MB / 0.6939 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00648/1.223, allocations: 2.16 MB / 0.696 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007444/1.224, allocations: 11.94 kB / 0.696 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00123/1.225, allocations: 238.9 kB / 0.6962 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003412/1.228, allocations: 0.6895 MB / 0.6969 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/1.231, allocations: 453.1 kB / 0.6973 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00332/1.234, allocations: 1.631 MB / 0.6989 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004567/1.239, allocations: 2.317 MB / 0.7012 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/1.242, allocations: 0.8527 MB / 0.702 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/1.243, allocations: 0.6109 MB / 0.7026 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/1.243, allocations: 48 kB / 0.7027 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/1.246, allocations: 0.6201 MB / 0.7033 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005055/1.246, allocations: 303 kB / 0.7036 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006153/1.247, allocations: 249.1 kB / 0.7038 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/1.249, allocations: 1.166 MB / 0.705 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.249, allocations: 0 / 0.705 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.627e-06/1.249, allocations: 0 / 0.705 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.667e-05/1.249, allocations: 4 kB / 0.705 GB, free: 2.316 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004507/1.253, allocations: 1.525 MB / 0.7064 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 8.882e-05/1.254, allocations: 8.031 kB / 0.7065 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002891/1.254, allocations: 94.52 kB / 0.7065 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/1.256, allocations: 206.4 kB / 0.7067 GB, free: 432 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/1.259, allocations: 0.8639 MB / 0.7076 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/1.259, allocations: 53.27 kB / 0.7076 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/1.259, allocations: 60.88 kB / 0.7077 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/1.262, allocations: 0.9831 MB / 0.7087 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/1.262, allocations: 7.938 kB / 0.7087 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.262, allocations: 20 kB / 0.7087 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/1.262, allocations: 16 kB / 0.7087 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/1.264, allocations: 0.8077 MB / 0.7095 GB, free: 13.48 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.008991/1.273, allocations: 4.828 MB / 0.7142 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/1.277, allocations: 4.03 MB / 0.7181 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/1.277, allocations: 20.27 kB / 0.7182 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008709/1.278, allocations: 326.2 kB / 0.7185 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008321/1.279, allocations: 31.69 kB / 0.7185 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 3.737e-06/1.279, allocations: 0 / 0.7185 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.007252/1.286, allocations: 1.598 MB / 0.7201 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.286, allocations: 106.8 kB / 0.7202 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/1.289, allocations: 1.177 MB / 0.7213 GB, free: 120 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/1.289, allocations: 37.7 kB / 0.7213 GB, free: 76 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000868/1.29, allocations: 0.516 MB / 0.7218 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.291, allocations: 126.3 kB / 0.722 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/1.291, allocations: 8 kB / 0.722 GB, free: 15.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.291, allocations: 329.9 kB / 0.7223 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/1.291, allocations: 205 kB / 0.7225 GB, free: 14.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.292, allocations: 0.5332 MB / 0.723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000805/1.293, allocations: 317.4 kB / 0.7233 GB, free: 13.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/1.293, allocations: 3.938 kB / 0.7233 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003602/1.297, allocations: 1.045 MB / 0.7243 GB, free: 12.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001209/1.298, allocations: 2.142 MB / 0.7264 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.298, allocations: 4 kB / 0.7264 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/1.3, allocations: 328.5 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/1.301, allocations: 103.9 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/1.302, allocations: 1.015 MB / 0.7278 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/1.305, allocations: 95.8 kB / 0.7279 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/1.305, allocations: 28 kB / 0.7279 GB, free: 8.949 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.305, allocations: 5.406 kB / 0.728 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002398/1.307, allocations: 0.7869 MB / 0.7287 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.307, allocations: 4.062 kB / 0.7287 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009363/1.308, allocations: 236.6 kB / 0.7289 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/1.309, allocations: 111.8 kB / 0.7291 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006089/1.315, allocations: 2.99 MB / 0.732 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.317, allocations: 99.8 kB / 0.7321 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.317, allocations: 24 kB / 0.7321 GB, free: 4.559 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 (38): * Single equations (assignments): 36 * 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.001339/1.319, allocations: 482.5 kB / 0.7326 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/1.319, allocations: 110.8 kB / 0.7327 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/1.322, allocations: 0.7641 MB / 0.7334 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.322, allocations: 4 kB / 0.7334 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.322, allocations: 7.984 kB / 0.7334 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/1.322, allocations: 0 / 0.7334 GB, free: 3.184 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.005074/1.327, allocations: 2.205 MB / 0.7356 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.327, allocations: 0 / 0.7356 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/1.327, allocations: 80.16 kB / 0.7356 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006162/1.328, allocations: 184.5 kB / 0.7358 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/1.328, allocations: 8 kB / 0.7358 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/1.329, allocations: 0.8566 MB / 0.7367 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.329, allocations: 7.938 kB / 0.7367 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/1.331, allocations: 0.9408 MB / 0.7376 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009867/1.332, allocations: 235.7 kB / 0.7378 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/1.333, allocations: 8 kB / 0.7378 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.334, allocations: 83.7 kB / 0.7379 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/1.334, allocations: 35.89 kB / 0.7379 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.772e-05/1.334, allocations: 16 kB / 0.738 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002076/1.336, allocations: 0.8209 MB / 0.7388 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.336, allocations: 4 kB / 0.7388 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002813/1.339, allocations: 0.5032 MB / 0.7393 GB, free: 12.93 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 (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00329/1.342, allocations: 1.972 MB / 0.7412 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003729/1.346, allocations: 1.118 MB / 0.7423 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.346, allocations: 256 / 0.7423 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008683/1.347, allocations: 255.7 kB / 0.7425 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005328/1.352, allocations: 0.6413 MB / 0.7431 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02535/1.378, allocations: 10.33 MB / 0.7532 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.379, allocations: 1.232 MB / 0.7544 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001968/1.381, allocations: 356.5 kB / 0.7548 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00072/1.382, allocations: 363.3 kB / 0.7551 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.184e-06/1.382, allocations: 0 / 0.7551 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/1.5, allocations: 31.29 MB / 0.7857 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005536/1.501, allocations: 292 kB / 0.7859 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.677/6.178, allocations: 0 / 0.7859 GB, free: 13.05 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: