Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.SeriesDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.0009304/0.0009304, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001251/0.001251, allocations: 172.7 kB / 15.95 MB, free: 192 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.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6671/0.6674, allocations: 142.3 MB / 0.9539 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1587/0.8261, allocations: 146.7 MB / 1.097 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003892/0.83, allocations: 3.379 MB / 1.1 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.8303, allocations: 7.938 kB / 1.1 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.8307, allocations: 115.2 kB / 1.101 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008994/0.8316, allocations: 394.1 kB / 1.101 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008803/0.8325, allocations: 369.4 kB / 1.101 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002759/0.8352, allocations: 3.003 MB / 1.104 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009863/0.8362, allocations: 0.6876 MB / 1.105 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.8377, allocations: 0.8714 MB / 1.106 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.8385, allocations: 0.704 MB / 1.106 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.8386, allocations: 36 kB / 1.106 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.8398, allocations: 0.5535 MB / 1.107 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.8401, allocations: 282.9 kB / 1.107 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.8404, allocations: 233.1 kB / 1.108 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.8415, allocations: 1.025 MB / 1.109 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8415, allocations: 0 / 1.109 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8415, allocations: 0 / 1.109 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.8415, allocations: 0 / 1.109 GB, free: 1.328 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001919/0.8434, allocations: 1.311 MB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.8435, allocations: 12.03 kB / 1.11 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.8436, allocations: 94.52 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.8443, allocations: 194.3 kB / 1.11 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.8456, allocations: 0.7885 MB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.8456, allocations: 45 kB / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.061e-05/0.8457, allocations: 64 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.8468, allocations: 0.7927 MB / 1.112 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.8469, allocations: 3.938 kB / 1.112 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.8469, allocations: 27.98 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.8469, allocations: 12 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/0.8478, allocations: 0.5423 MB / 1.112 GB, free: 13.24 MB / 0.8731 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.003737/0.8516, allocations: 4.596 MB / 1.117 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006589/0.8522, allocations: 434.2 kB / 1.117 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.8526, allocations: 248.6 kB / 1.117 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.8529, allocations: 194.4 kB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/0.8533, allocations: 305.1 kB / 1.118 GB, free: 7.043 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.973e-06/0.8534, allocations: 3.938 kB / 1.118 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.003516/0.8569, allocations: 1.351 MB / 1.119 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.8569, allocations: 81.11 kB / 1.119 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.8582, allocations: 1.114 MB / 1.12 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.8583, allocations: 33.7 kB / 1.12 GB, free: 4.391 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.8587, allocations: 500 kB / 1.121 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.091e-05/0.8588, allocations: 114.5 kB / 1.121 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.8588, allocations: 8 kB / 1.121 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.8589, allocations: 326 kB / 1.121 GB, free: 3.449 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.8593, allocations: 188.7 kB / 1.122 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.8598, allocations: 0.5018 MB / 1.122 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.8602, allocations: 290.4 kB / 1.122 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.8602, allocations: 3.953 kB / 1.122 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002038/0.8623, allocations: 0.982 MB / 1.123 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.8624, allocations: 272.6 kB / 1.123 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.8624, allocations: 8 kB / 1.124 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.8637, allocations: 337.4 kB / 1.124 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.8639, allocations: 67.91 kB / 1.124 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009992/0.8649, allocations: 1.003 MB / 1.125 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.8657, allocations: 115.4 kB / 1.125 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.8658, allocations: 20 kB / 1.125 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-06/0.8658, allocations: 4 kB / 1.125 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001289/0.8671, allocations: 0.7302 MB / 1.126 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8671, allocations: 8 kB / 1.126 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.8676, allocations: 217 kB / 1.126 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.8678, allocations: 67.89 kB / 1.126 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.8712, allocations: 3.118 MB / 1.129 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007405/0.872, allocations: 95.64 kB / 1.129 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.872, allocations: 24 kB / 1.129 GB, free: 11.01 MB / 0.8887 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 (34): * Single equations (assignments): 32 * 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.0005131/0.8725, allocations: 472.7 kB / 1.13 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.8727, allocations: 98.78 kB / 1.13 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.8739, allocations: 0.7063 MB / 1.13 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.8739, allocations: 11.95 kB / 1.13 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.8739, allocations: 0 / 1.13 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8739, allocations: 11.88 kB / 1.13 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.876, allocations: 1.62 MB / 1.132 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8761, allocations: 7.938 kB / 1.132 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.8762, allocations: 23.92 kB / 1.132 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004348/0.8766, allocations: 228.8 kB / 1.132 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.8767, allocations: 8 kB / 1.132 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008362/0.8775, allocations: 0.9736 MB / 1.133 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.8775, allocations: 4.031 kB / 1.133 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.8787, allocations: 0.833 MB / 1.134 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.879, allocations: 231.8 kB / 1.134 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/0.8791, allocations: 8 kB / 1.134 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.8796, allocations: 59.78 kB / 1.134 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.8797, allocations: 31.91 kB / 1.134 GB, free: 5.508 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.8797, allocations: 16 kB / 1.134 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009474/0.8807, allocations: 0.7877 MB / 1.135 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8807, allocations: 0 / 1.135 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001194/0.8819, allocations: 443.4 kB / 1.136 GB, free: 4.262 MB / 0.8887 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001578/0.8835, allocations: 1.385 MB / 1.137 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.8853, allocations: 1.047 MB / 1.138 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8853, allocations: 3.938 kB / 1.138 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.8858, allocations: 240.5 kB / 1.138 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.8878, allocations: 461.5 kB / 1.139 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.8995, allocations: 6.579 MB / 1.145 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.9002, allocations: 1.185 MB / 1.146 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009317/0.9012, allocations: 323.6 kB / 1.146 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003634/0.9016, allocations: 307.3 kB / 1.147 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/0.9016, allocations: 3.938 kB / 1.147 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04929/0.9509, allocations: 28 MB / 1.174 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.9511, allocations: 280.4 kB / 1.174 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.272/3.223, allocations: 3.375 kB / 1.174 GB, free: 12.45 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat does not exist to compare? outputFormat=mat