Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 172.9 kB / 492.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 221.3 MB / 0.7871 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 95.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.597e-05/4.6e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3255, allocations: 142.4 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.728/6.054, allocations: 1.869 GB / 3.082 GB, free: 359.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/6.054, allocations: 89.55 kB / 3.082 GB, free: 359.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.535/12.59, allocations: 1.8 GB / 4.882 GB, free: 347.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.443e-06/12.59, allocations: 0 / 4.882 GB, free: 347.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001613/12.59, allocations: 30.98 kB / 4.882 GB, free: 347.2 MB / 1.151 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.002709/12.59, allocations: 1.143 MB / 4.883 GB, free: 346.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/12.59, allocations: 7.5 kB / 4.883 GB, free: 346.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/12.59, allocations: 99.66 kB / 4.884 GB, free: 346.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/12.59, allocations: 187.6 kB / 4.884 GB, free: 346.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/12.6, allocations: 1.077 MB / 4.885 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/12.6, allocations: 50.81 kB / 4.885 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/12.6, allocations: 57.59 kB / 4.885 GB, free: 345.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/12.6, allocations: 0.7335 MB / 4.886 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/12.6, allocations: 11.81 kB / 4.886 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/12.6, allocations: 19.69 kB / 4.886 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/12.6, allocations: 15.25 kB / 4.886 GB, free: 345.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/12.6, allocations: 483 kB / 4.886 GB, free: 345.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004053/12.6, allocations: 4.601 MB / 4.891 GB, free: 341.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/12.6, allocations: 377.2 kB / 4.891 GB, free: 341.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/12.6, allocations: 229.9 kB / 4.891 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/12.6, allocations: 199.6 kB / 4.891 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004309/12.6, allocations: 266.5 kB / 4.892 GB, free: 340.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 3.145e-06/12.6, allocations: 0 / 4.892 GB, free: 340.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001049/12.6, allocations: 457.7 kB / 4.892 GB, free: 340.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/12.6, allocations: 84.64 kB / 4.892 GB, free: 340.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/12.61, allocations: 0.9757 MB / 4.893 GB, free: 340.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/12.61, allocations: 33.67 kB / 4.893 GB, free: 340.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/12.61, allocations: 0.4916 MB / 4.894 GB, free: 339.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.186e-05/12.61, allocations: 107.3 kB / 4.894 GB, free: 339.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/12.61, allocations: 12.03 kB / 4.894 GB, free: 339.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.276e-05/12.61, allocations: 328 kB / 4.894 GB, free: 339.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/12.61, allocations: 169.1 kB / 4.894 GB, free: 339.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/12.61, allocations: 493.3 kB / 4.895 GB, free: 339.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/12.61, allocations: 274.1 kB / 4.895 GB, free: 339 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/12.61, allocations: 0 / 4.895 GB, free: 339 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009697/12.61, allocations: 0.6366 MB / 4.896 GB, free: 338.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005914/12.61, allocations: 2.132 MB / 4.898 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/12.61, allocations: 9 kB / 4.898 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/12.61, allocations: 11.48 kB / 4.898 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/12.61, allocations: 112.8 kB / 4.898 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/12.61, allocations: 11.81 kB / 4.898 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008852/12.61, allocations: 109 kB / 4.898 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/12.61, allocations: 29.75 kB / 4.898 GB, free: 336.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/12.61, allocations: 7.547 kB / 4.898 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006468/12.61, allocations: 495.9 kB / 4.898 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/12.61, allocations: 3.875 kB / 4.898 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/12.61, allocations: 10.84 kB / 4.898 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/12.61, allocations: 113.2 kB / 4.899 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/12.61, allocations: 11.78 kB / 4.899 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008213/12.61, allocations: 92.55 kB / 4.899 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/12.61, allocations: 22.28 kB / 4.899 GB, free: 336.2 MB / 1.151 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 () * 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.0001554/12.61, allocations: 146.5 kB / 4.899 GB, free: 336.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/12.61, allocations: 106.8 kB / 4.899 GB, free: 336 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007087/12.61, allocations: 462.5 kB / 4.899 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/12.61, allocations: 3.531 kB / 4.899 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/12.61, allocations: 0 / 4.899 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/12.61, allocations: 3.875 kB / 4.899 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/12.62, allocations: 1.361 MB / 4.901 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/12.62, allocations: 3.656 kB / 4.901 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/12.62, allocations: 63.61 kB / 4.901 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/12.62, allocations: 3.938 kB / 4.901 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/12.62, allocations: 7.906 kB / 4.901 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/12.62, allocations: 7.875 kB / 4.901 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/12.62, allocations: 0 / 4.901 GB, free: 335.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/12.62, allocations: 0.6676 MB / 4.901 GB, free: 334.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/12.62, allocations: 221.3 kB / 4.902 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/12.62, allocations: 7.906 kB / 4.902 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/12.62, allocations: 60.89 kB / 4.902 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/12.62, allocations: 33.62 kB / 4.902 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/12.62, allocations: 6.969 kB / 4.902 GB, free: 334.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008825/12.62, allocations: 0.7808 MB / 4.902 GB, free: 334 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/12.62, allocations: 0 / 4.902 GB, free: 334 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001633/12.62, allocations: 470.8 kB / 4.903 GB, free: 333.9 MB / 1.151 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) * 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.002232/12.62, allocations: 2.481 MB / 4.905 GB, free: 332.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001047/12.62, allocations: 0.7726 MB / 4.906 GB, free: 331.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/12.62, allocations: 0 / 4.906 GB, free: 331.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/12.62, allocations: 192 kB / 4.906 GB, free: 331.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/12.63, allocations: 447.1 kB / 4.907 GB, free: 331.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/12.63, allocations: 1.655 MB / 4.908 GB, free: 330.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/12.63, allocations: 1.197 MB / 4.909 GB, free: 329.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001999/12.63, allocations: 0.8379 MB / 4.91 GB, free: 329.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/12.63, allocations: 300.2 kB / 4.911 GB, free: 329.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/12.63, allocations: 0 / 4.911 GB, free: 329.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06801/12.7, allocations: 42.99 MB / 4.953 GB, free: 290.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/12.7, allocations: 206.2 kB / 4.953 GB, free: 290.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.382/16.08, allocations: 0 / 4.953 GB, free: 290.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat does not exist to compare? outputFormat=mat