Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_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.0009101/0.0009102, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008698/0.0008702, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 409.2 MB / 0.6838 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.000324, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7801, allocations: 146.8 MB / 0.9809 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1756/0.9558, allocations: 140.5 MB / 1.118 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003869/0.9597, allocations: 2.163 MB / 1.12 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.9602, allocations: 7.938 kB / 1.12 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008046/0.961, allocations: 238.9 kB / 1.12 GB, free: 7 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.963, allocations: 0.6972 MB / 1.121 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.9644, allocations: 455.3 kB / 1.122 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.9666, allocations: 1.631 MB / 1.123 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.9693, allocations: 2.317 MB / 1.125 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00166/0.971, allocations: 0.8526 MB / 1.126 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000858/0.9719, allocations: 0.607 MB / 1.127 GB, free: 452 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.972, allocations: 48 kB / 1.127 GB, free: 404 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.9735, allocations: 0.6202 MB / 1.127 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.9739, allocations: 303 kB / 1.128 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.9742, allocations: 249.1 kB / 1.128 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.9755, allocations: 1.169 MB / 1.129 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9755, allocations: 0 / 1.129 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9755, allocations: 0 / 1.129 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.9755, allocations: 0 / 1.129 GB, free: 14.05 MB / 0.8887 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.00263/0.9781, allocations: 1.518 MB / 1.131 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9782, allocations: 15.97 kB / 1.131 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.9783, allocations: 98.52 kB / 1.131 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007872/0.9791, allocations: 198.3 kB / 1.131 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.9808, allocations: 0.8756 MB / 1.132 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.9808, allocations: 45.31 kB / 1.132 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.981, allocations: 68 kB / 1.132 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.9824, allocations: 0.987 MB / 1.133 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.9824, allocations: 7.938 kB / 1.133 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.9825, allocations: 20 kB / 1.133 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.9825, allocations: 16 kB / 1.133 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.9837, allocations: 0.8116 MB / 1.134 GB, free: 9.195 MB / 0.8887 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.004717/0.9885, allocations: 4.796 MB / 1.138 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.991, allocations: 4.038 MB / 1.142 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.305e-05/0.9911, allocations: 16.22 kB / 1.142 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005322/0.9917, allocations: 338 kB / 1.143 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003666/0.992, allocations: 27.69 kB / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.992, allocations: 0 / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.004499/0.9966, allocations: 1.578 MB / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.9966, allocations: 114.8 kB / 1.144 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.998, allocations: 1.18 MB / 1.145 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.9981, allocations: 37.7 kB / 1.146 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/0.9986, allocations: 0.516 MB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.9987, allocations: 118.4 kB / 1.146 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.9987, allocations: 12 kB / 1.146 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.9989, allocations: 325.9 kB / 1.146 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.9992, allocations: 209 kB / 1.147 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.9999, allocations: 0.5332 MB / 1.147 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/1, allocations: 313.9 kB / 1.147 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1, allocations: 0 / 1.147 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002046/1.002, allocations: 1.057 MB / 1.148 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008927/1.003, allocations: 2.134 MB / 1.151 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.003, allocations: 4 kB / 1.151 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/1.005, allocations: 336.4 kB / 1.151 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/1.005, allocations: 95.86 kB / 1.151 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/1.006, allocations: 1.01 MB / 1.152 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/1.007, allocations: 103.7 kB / 1.152 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/1.007, allocations: 27.94 kB / 1.152 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.007, allocations: 4 kB / 1.152 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001375/1.009, allocations: 0.7869 MB / 1.153 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.009, allocations: 4.625 kB / 1.153 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005445/1.009, allocations: 237.8 kB / 1.153 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/1.01, allocations: 107.8 kB / 1.153 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/1.013, allocations: 2.989 MB / 1.156 GB, free: 432 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/1.014, allocations: 103.8 kB / 1.156 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.014, allocations: 20 kB / 1.156 GB, free: 308 kB / 0.9044 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.0006461/1.015, allocations: 480.7 kB / 1.157 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/1.015, allocations: 110.6 kB / 1.157 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/1.016, allocations: 0.763 MB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.016, allocations: 4 kB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/1.016, allocations: 3.938 kB / 1.158 GB, free: 14.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.016, allocations: 4 kB / 1.158 GB, free: 14.92 MB / 0.92 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.003009/1.019, allocations: 2.209 MB / 1.16 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.019, allocations: 4 kB / 1.16 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/1.02, allocations: 80.09 kB / 1.16 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/1.02, allocations: 180.7 kB / 1.16 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/1.02, allocations: 11.95 kB / 1.16 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006967/1.021, allocations: 0.8574 MB / 1.161 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.021, allocations: 0 / 1.161 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.022, allocations: 0.9553 MB / 1.162 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004271/1.023, allocations: 235.6 kB / 1.162 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.023, allocations: 8 kB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/1.023, allocations: 75.75 kB / 1.162 GB, free: 10.05 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/1.024, allocations: 43.91 kB / 1.162 GB, free: 10.01 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/1.024, allocations: 8 kB / 1.162 GB, free: 10 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001031/1.025, allocations: 0.8288 MB / 1.163 GB, free: 9.164 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.025, allocations: 0 / 1.163 GB, free: 9.164 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001445/1.026, allocations: 0.4994 MB / 1.163 GB, free: 8.664 MB / 0.92 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.001965/1.028, allocations: 1.982 MB / 1.165 GB, free: 6.609 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002095/1.03, allocations: 1.118 MB / 1.166 GB, free: 5.457 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.03, allocations: 0 / 1.166 GB, free: 5.457 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004436/1.031, allocations: 255.7 kB / 1.167 GB, free: 5.207 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/1.034, allocations: 0.6426 MB / 1.167 GB, free: 4.57 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.048, allocations: 10.34 MB / 1.177 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008233/1.049, allocations: 1.236 MB / 1.179 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001239/1.05, allocations: 360.4 kB / 1.179 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/1.05, allocations: 359.3 kB / 1.179 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/1.05, allocations: 7.938 kB / 1.179 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05762/1.108, allocations: 31.28 MB / 1.21 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.108, allocations: 282.1 kB / 1.21 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.371, allocations: 4.062 kB / 1.21 GB, free: 8.754 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat does not exist to compare? outputFormat=mat