Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.582/2.582, allocations: 287.3 MB / 302.3 MB, free: 8.352 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.002578/0.002578, allocations: 175 kB / 370.8 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.35/2.35, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001277/0.001276, allocations: 89.67 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005375/0.0005377, allocations: 16.8 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.25, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.9877/1.238, allocations: 135.7 MB / 1.111 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004534/1.242, allocations: 1.664 MB / 1.112 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006154/1.243, allocations: 8.719 kB / 1.112 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/1.244, allocations: 180.9 kB / 1.113 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/1.247, allocations: 0.4915 MB / 1.113 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/1.249, allocations: 406.5 kB / 1.113 GB, free: 1.105 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003449/1.253, allocations: 1.498 MB / 1.115 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/1.255, allocations: 0.6999 MB / 1.116 GB, free: 0.9219 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/1.257, allocations: 0.6923 MB / 1.116 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001706/1.259, allocations: 0.4885 MB / 1.117 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000278/1.259, allocations: 36.53 kB / 1.117 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/1.262, allocations: 410.6 kB / 1.117 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007225/1.263, allocations: 255.7 kB / 1.117 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008788/1.263, allocations: 231.3 kB / 1.118 GB, free: 16.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/1.266, allocations: 0.9745 MB / 1.119 GB, free: 16.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.266, allocations: 0 / 1.119 GB, free: 16.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.316e-06/1.266, allocations: 0 / 1.119 GB, free: 16.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-05/1.266, allocations: 0 / 1.119 GB, free: 16.47 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004163/1.271, allocations: 1.284 MB / 1.12 GB, free: 15.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/1.271, allocations: 17.73 kB / 1.12 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004042/1.271, allocations: 95.7 kB / 1.12 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/1.272, allocations: 181.3 kB / 1.12 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/1.275, allocations: 0.8013 MB / 1.121 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/1.275, allocations: 44.44 kB / 1.121 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/1.276, allocations: 62.95 kB / 1.121 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/1.278, allocations: 0.7882 MB / 1.122 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/1.278, allocations: 10.72 kB / 1.122 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.762e-05/1.278, allocations: 21.28 kB / 1.122 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/1.278, allocations: 13.12 kB / 1.122 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/1.28, allocations: 0.5401 MB / 1.122 GB, free: 14.95 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.007206/1.287, allocations: 4.607 MB / 1.127 GB, free: 11.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/1.288, allocations: 436.5 kB / 1.127 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/1.288, allocations: 17.02 kB / 1.127 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007792/1.289, allocations: 291.1 kB / 1.128 GB, free: 11.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.627e-06/1.289, allocations: 0 / 1.128 GB, free: 11.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00246/1.292, allocations: 0.6422 MB / 1.128 GB, free: 11.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/1.292, allocations: 120.1 kB / 1.128 GB, free: 11.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002346/1.294, allocations: 1.112 MB / 1.129 GB, free: 10.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/1.294, allocations: 34.36 kB / 1.129 GB, free: 10.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/1.295, allocations: 498.5 kB / 1.13 GB, free: 10.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/1.295, allocations: 104.5 kB / 1.13 GB, free: 10.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/1.295, allocations: 7.312 kB / 1.13 GB, free: 10.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.295, allocations: 328.9 kB / 1.13 GB, free: 10.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/1.296, allocations: 186.3 kB / 1.131 GB, free: 10.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/1.297, allocations: 0.4935 MB / 1.131 GB, free: 10.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/1.298, allocations: 295.3 kB / 1.131 GB, free: 9.977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.298, allocations: 0 / 1.131 GB, free: 9.977 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002208/1.3, allocations: 0.6852 MB / 1.132 GB, free: 9.816 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001162/1.301, allocations: 2.131 MB / 1.134 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/1.301, allocations: 5.125 kB / 1.134 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/1.301, allocations: 8.438 kB / 1.134 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009717/1.302, allocations: 115.5 kB / 1.134 GB, free: 7.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/1.302, allocations: 14.08 kB / 1.134 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.304, allocations: 109.5 kB / 1.134 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.304, allocations: 26.33 kB / 1.134 GB, free: 7.531 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.304, allocations: 2.281 kB / 1.134 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001629/1.306, allocations: 0.5417 MB / 1.135 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.306, allocations: 5.938 kB / 1.135 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.306, allocations: 9.156 kB / 1.135 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/1.306, allocations: 118.6 kB / 1.135 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/1.306, allocations: 9.594 kB / 1.135 GB, free: 7.434 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.308, allocations: 102.4 kB / 1.135 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/1.308, allocations: 20.19 kB / 1.135 GB, free: 7.406 MB / 0.698 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.001084/1.309, allocations: 470.8 kB / 1.136 GB, free: 7.207 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003779/1.31, allocations: 102.5 kB / 1.136 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/1.311, allocations: 490.9 kB / 1.136 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.311, allocations: 4.281 kB / 1.136 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.311, allocations: 1.469 kB / 1.136 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.311, allocations: 6.109 kB / 1.136 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/1.314, allocations: 1.098 MB / 1.137 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.314, allocations: 7.203 kB / 1.137 GB, free: 6.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005592/1.315, allocations: 71.98 kB / 1.137 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/1.315, allocations: 2.75 kB / 1.137 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/1.315, allocations: 8.031 kB / 1.137 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/1.315, allocations: 5.719 kB / 1.137 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.315, allocations: 1.375 kB / 1.137 GB, free: 6.453 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.317, allocations: 0.6298 MB / 1.138 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/1.317, allocations: 220 kB / 1.138 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/1.318, allocations: 8.75 kB / 1.138 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008969/1.318, allocations: 55.53 kB / 1.138 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.319, allocations: 40.72 kB / 1.138 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/1.319, allocations: 12.31 kB / 1.138 GB, free: 5.867 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001933/1.321, allocations: 0.7844 MB / 1.139 GB, free: 5.605 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.01e-07/1.321, allocations: 0 / 1.139 GB, free: 5.605 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002245/1.323, allocations: 412.8 kB / 1.139 GB, free: 5.57 MB / 0.698 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.002902/1.326, allocations: 1.708 MB / 1.141 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002503/1.328, allocations: 0.7944 MB / 1.142 GB, free: 3.906 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.329, allocations: 0 / 1.142 GB, free: 3.906 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007438/1.329, allocations: 216.6 kB / 1.142 GB, free: 3.852 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/1.333, allocations: 459.4 kB / 1.142 GB, free: 3.699 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/1.357, allocations: 9.553 MB / 1.152 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.358, allocations: 1.196 MB / 1.153 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002346/1.36, allocations: 421.3 kB / 1.153 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000921/1.361, allocations: 326.8 kB / 1.154 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of SimCode: time 1.373e-06/1.361, allocations: 0 / 1.154 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09907/1.46, allocations: 25.52 MB / 1.179 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/1.461, allocations: 248.1 kB / 1.179 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.628/5.089, allocations: 2.344 kB / 1.179 GB, free: 14.01 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)