Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.842/2.842, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001738/0.001738, allocations: 176.1 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 102.5 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000724/0.0007243, allocations: 11.41 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2457, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.9769/1.223, allocations: 140.5 MB / 1.115 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01224/1.235, allocations: 3.59 MB / 1.119 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009381/1.236, allocations: 10.38 kB / 1.119 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/1.238, allocations: 238.5 kB / 1.119 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/1.243, allocations: 0.6856 MB / 1.12 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003723/1.246, allocations: 489.7 kB / 1.12 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005315/1.252, allocations: 1.652 MB / 1.122 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00693/1.259, allocations: 2.316 MB / 1.124 GB, free: 272 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/1.262, allocations: 0.8584 MB / 1.125 GB, free: 132 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/1.264, allocations: 0.6083 MB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/1.264, allocations: 49.31 kB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/1.266, allocations: 458.8 kB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007958/1.267, allocations: 309.5 kB / 1.126 GB, free: 0 / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007662/1.268, allocations: 249.6 kB / 1.127 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002673/1.271, allocations: 1.13 MB / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.271, allocations: 2.781 kB / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/1.271, allocations: 0 / 1.128 GB, free: 15.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.474e-05/1.271, allocations: 0 / 1.128 GB, free: 15.82 MB / 0.698 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.004756/1.275, allocations: 1.506 MB / 1.129 GB, free: 14.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.276, allocations: 10.75 kB / 1.129 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003742/1.276, allocations: 99.33 kB / 1.129 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/1.277, allocations: 203.4 kB / 1.13 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/1.28, allocations: 0.8658 MB / 1.13 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/1.28, allocations: 47.56 kB / 1.13 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/1.281, allocations: 63.25 kB / 1.131 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/1.283, allocations: 0.9887 MB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/1.283, allocations: 2.562 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.283, allocations: 22.16 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/1.283, allocations: 18.3 kB / 1.132 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/1.286, allocations: 0.8059 MB / 1.132 GB, free: 14.26 MB / 0.698 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.008655/1.294, allocations: 4.806 MB / 1.137 GB, free: 10.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/1.298, allocations: 4.024 MB / 1.141 GB, free: 6.168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/1.298, allocations: 13.91 kB / 1.141 GB, free: 6.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.299, allocations: 342.8 kB / 1.141 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006996/1.3, allocations: 34.47 kB / 1.141 GB, free: 5.988 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 5.831e-06/1.3, allocations: 0 / 1.141 GB, free: 5.988 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.0099/1.31, allocations: 1.744 MB / 1.143 GB, free: 5.234 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/1.31, allocations: 112 kB / 1.143 GB, free: 5.105 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/1.313, allocations: 1.181 MB / 1.144 GB, free: 4.734 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001722/1.313, allocations: 36.64 kB / 1.144 GB, free: 4.703 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006381/1.314, allocations: 0.5114 MB / 1.145 GB, free: 4.488 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/1.314, allocations: 123.8 kB / 1.145 GB, free: 4.402 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/1.314, allocations: 10.41 kB / 1.145 GB, free: 4.402 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.314, allocations: 326 kB / 1.145 GB, free: 4.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/1.315, allocations: 206.4 kB / 1.145 GB, free: 4.043 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/1.316, allocations: 0.537 MB / 1.146 GB, free: 3.602 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/1.317, allocations: 321.8 kB / 1.146 GB, free: 3.496 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.317, allocations: 6.734 kB / 1.146 GB, free: 3.492 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004239/1.321, allocations: 1.069 MB / 1.147 GB, free: 3.094 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001113/1.322, allocations: 2.145 MB / 1.149 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/1.322, allocations: 5.094 kB / 1.149 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/1.325, allocations: 376.5 kB / 1.15 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/1.325, allocations: 72.67 kB / 1.15 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/1.327, allocations: 1.054 MB / 1.151 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.329, allocations: 105 kB / 1.151 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.33, allocations: 23.81 kB / 1.151 GB, free: 12 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.33, allocations: 3.344 kB / 1.151 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002643/1.332, allocations: 0.8156 MB / 1.152 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.332, allocations: 5.281 kB / 1.152 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/1.334, allocations: 266.2 kB / 1.152 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/1.334, allocations: 68.27 kB / 1.152 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006628/1.341, allocations: 3.199 MB / 1.155 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.343, allocations: 103.1 kB / 1.155 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/1.343, allocations: 22.38 kB / 1.155 GB, free: 13.79 MB / 0.7136 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.001065/1.344, allocations: 475.4 kB / 1.156 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/1.344, allocations: 115.3 kB / 1.156 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/1.347, allocations: 0.7958 MB / 1.157 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/1.347, allocations: 8.844 kB / 1.157 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.347, allocations: 1.094 kB / 1.157 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/1.347, allocations: 192 / 1.157 GB, free: 13.18 MB / 0.7136 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.005619/1.352, allocations: 2.242 MB / 1.159 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.352, allocations: 6.359 kB / 1.159 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/1.353, allocations: 46.12 kB / 1.159 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008817/1.354, allocations: 206.2 kB / 1.159 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/1.354, allocations: 10.31 kB / 1.159 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.355, allocations: 0.8886 MB / 1.16 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.355, allocations: 2.719 kB / 1.16 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/1.358, allocations: 0.9771 MB / 1.161 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/1.359, allocations: 235 kB / 1.161 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/1.359, allocations: 10.31 kB / 1.161 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.36, allocations: 81.59 kB / 1.161 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.36, allocations: 30.95 kB / 1.161 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/1.361, allocations: 18.3 kB / 1.161 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001992/1.363, allocations: 0.8337 MB / 1.162 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.246e-06/1.363, allocations: 0 / 1.162 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002507/1.365, allocations: 0.5071 MB / 1.163 GB, free: 10.13 MB / 0.7136 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.003048/1.368, allocations: 1.968 MB / 1.165 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003278/1.371, allocations: 1.14 MB / 1.166 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.372, allocations: 0 / 1.166 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008501/1.372, allocations: 255.8 kB / 1.166 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006203/1.379, allocations: 0.6549 MB / 1.167 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/1.402, allocations: 10.36 MB / 1.177 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.404, allocations: 1.236 MB / 1.178 GB, free: 236 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001977/1.406, allocations: 330.8 kB / 1.178 GB, free: 84 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008485/1.407, allocations: 360 kB / 1.179 GB, free: 44 kB / 0.7136 GB Notification: Performance of SimCode: time 1.864e-06/1.407, allocations: 0 / 1.179 GB, free: 44 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.529, allocations: 31.58 MB / 1.209 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005077/1.53, allocations: 289.9 kB / 1.21 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.9/5.43, allocations: 4 kB / 1.21 GB, free: 4.727 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)