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.744/2.744, allocations: 287.5 MB / 302.4 MB, free: 8.23 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.001493/0.001493, allocations: 185 kB / 371 MB, free: 10.86 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.346/2.346, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.001087/0.001086, allocations: 95.78 kB / 0.743 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005296/0.0005298, allocations: 12.08 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2566, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.9832/1.24, allocations: 152.4 MB / 1.127 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008301/1.248, allocations: 3.762 MB / 1.131 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008347/1.249, allocations: 15.72 kB / 1.131 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/1.25, allocations: 164.7 kB / 1.131 GB, free: 452 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/1.253, allocations: 0.5 MB / 1.132 GB, free: 324 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002179/1.255, allocations: 405.8 kB / 1.132 GB, free: 288 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005634/1.261, allocations: 3.289 MB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004543/1.265, allocations: 2.29 MB / 1.137 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/1.269, allocations: 1.061 MB / 1.138 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/1.272, allocations: 0.8487 MB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004706/1.272, allocations: 48.94 kB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/1.275, allocations: 0.5964 MB / 1.14 GB, free: 15.03 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/1.276, allocations: 334.1 kB / 1.14 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/1.278, allocations: 250.2 kB / 1.141 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003161/1.281, allocations: 1.179 MB / 1.142 GB, free: 14.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.281, allocations: 1.344 kB / 1.142 GB, free: 14.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.387e-06/1.281, allocations: 0 / 1.142 GB, free: 14.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.407e-05/1.281, allocations: 0 / 1.142 GB, free: 14.55 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.005729/1.287, allocations: 1.52 MB / 1.143 GB, free: 13.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/1.287, allocations: 13.28 kB / 1.143 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005141/1.287, allocations: 97.11 kB / 1.143 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001517/1.289, allocations: 204.7 kB / 1.143 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/1.292, allocations: 0.87 MB / 1.144 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/1.293, allocations: 48.06 kB / 1.144 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/1.293, allocations: 67.25 kB / 1.144 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/1.296, allocations: 0.9885 MB / 1.145 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/1.296, allocations: 1.406 kB / 1.145 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.296, allocations: 32.67 kB / 1.145 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/1.296, allocations: 18.89 kB / 1.145 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/1.299, allocations: 0.7999 MB / 1.146 GB, free: 12.2 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.009897/1.309, allocations: 4.801 MB / 1.151 GB, free: 8.395 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/1.313, allocations: 4.021 MB / 1.155 GB, free: 4.004 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/1.314, allocations: 347.2 kB / 1.155 GB, free: 3.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004932/1.314, allocations: 196.5 kB / 1.155 GB, free: 3.742 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/1.316, allocations: 348.3 kB / 1.156 GB, free: 3.582 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008399/1.316, allocations: 32.03 kB / 1.156 GB, free: 3.566 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 4.218e-06/1.316, allocations: 0 / 1.156 GB, free: 3.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.01033/1.327, allocations: 1.751 MB / 1.157 GB, free: 2.801 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/1.327, allocations: 81.55 kB / 1.157 GB, free: 2.707 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/1.33, allocations: 1.184 MB / 1.159 GB, free: 2.332 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001944/1.33, allocations: 37.2 kB / 1.159 GB, free: 2.301 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/1.331, allocations: 0.5125 MB / 1.159 GB, free: 2.082 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.331, allocations: 125.9 kB / 1.159 GB, free: 1.988 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/1.331, allocations: 13.97 kB / 1.159 GB, free: 1.984 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.332, allocations: 325.2 kB / 1.16 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007561/1.332, allocations: 208.9 kB / 1.16 GB, free: 1.625 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.333, allocations: 0.5325 MB / 1.16 GB, free: 1.191 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009884/1.335, allocations: 324.7 kB / 1.161 GB, free: 1.082 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.335, allocations: 5.438 kB / 1.161 GB, free: 1.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004652/1.339, allocations: 1.075 MB / 1.162 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002746/1.34, allocations: 272.2 kB / 1.162 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.34, allocations: 9.219 kB / 1.162 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/1.342, allocations: 385 kB / 1.162 GB, free: 228 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/1.343, allocations: 67.3 kB / 1.162 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/1.345, allocations: 1.052 MB / 1.163 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/1.347, allocations: 100.3 kB / 1.164 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002263/1.348, allocations: 31.59 kB / 1.164 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.348, allocations: 3.781 kB / 1.164 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002824/1.351, allocations: 0.817 MB / 1.164 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/1.351, allocations: 5.5 kB / 1.164 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/1.352, allocations: 268.2 kB / 1.165 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/1.353, allocations: 71.2 kB / 1.165 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/1.36, allocations: 3.128 MB / 1.168 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.362, allocations: 101.6 kB / 1.168 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.362, allocations: 22.53 kB / 1.168 GB, free: 13.3 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.001273/1.363, allocations: 478.4 kB / 1.168 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004641/1.364, allocations: 110.5 kB / 1.168 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/1.367, allocations: 0.8261 MB / 1.169 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/1.367, allocations: 8.594 kB / 1.169 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/1.367, allocations: 7 kB / 1.169 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.367, allocations: 0 / 1.169 GB, free: 12.68 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.006023/1.373, allocations: 2.158 MB / 1.171 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.373, allocations: 2.906 kB / 1.171 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/1.373, allocations: 48.17 kB / 1.171 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009142/1.374, allocations: 206.1 kB / 1.172 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/1.374, allocations: 9.531 kB / 1.172 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/1.376, allocations: 0.8819 MB / 1.172 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.376, allocations: 6.875 kB / 1.172 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/1.378, allocations: 0.8905 MB / 1.173 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.379, allocations: 243.6 kB / 1.174 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/1.38, allocations: 6.469 kB / 1.174 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.382, allocations: 77.47 kB / 1.174 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/1.382, allocations: 31.98 kB / 1.174 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/1.382, allocations: 13.19 kB / 1.174 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002187/1.384, allocations: 0.8361 MB / 1.175 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.11e-07/1.384, allocations: 0 / 1.175 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003303/1.388, allocations: 0.5065 MB / 1.175 GB, free: 9.805 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.003202/1.391, allocations: 1.415 MB / 1.176 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003572/1.394, allocations: 1.134 MB / 1.178 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.395, allocations: 3.938 kB / 1.178 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009305/1.396, allocations: 261.7 kB / 1.178 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006961/1.403, allocations: 0.6648 MB / 1.178 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/1.428, allocations: 7.057 MB / 1.185 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/1.43, allocations: 1.208 MB / 1.186 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002155/1.432, allocations: 333 kB / 1.187 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.434, allocations: 356.6 kB / 1.187 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.665e-06/1.434, allocations: 0 / 1.187 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.564, allocations: 31.6 MB / 1.218 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003696/1.565, allocations: 292.2 kB / 1.218 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.997/5.561, allocations: 0 / 1.218 GB, free: 4.281 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)