Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.297/2.297, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001246/0.001246, allocations: 191.2 kB / 498.1 MB, free: 5.73 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.557/1.557, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001064/0.001064, allocations: 98.23 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 13.78 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2849, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.193/4.478, allocations: 1.872 GB / 3.095 GB, free: 115.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/4.478, allocations: 92.09 kB / 3.095 GB, free: 115 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.055/7.532, allocations: 0.9813 GB / 4.076 GB, free: 42.29 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.103e-06/7.533, allocations: 0 / 4.076 GB, free: 42.29 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001396/7.533, allocations: 31.98 kB / 4.076 GB, free: 42.26 MB / 1.167 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.003493/7.536, allocations: 1.445 MB / 4.077 GB, free: 40.76 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/7.536, allocations: 8.031 kB / 4.077 GB, free: 40.75 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/7.536, allocations: 102.5 kB / 4.078 GB, free: 40.64 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/7.537, allocations: 182.5 kB / 4.078 GB, free: 40.46 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/7.54, allocations: 1.116 MB / 4.079 GB, free: 39.29 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/7.54, allocations: 49 kB / 4.079 GB, free: 39.24 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/7.54, allocations: 56 kB / 4.079 GB, free: 39.18 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009848/7.541, allocations: 0.7658 MB / 4.08 GB, free: 38.34 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/7.541, allocations: 7.922 kB / 4.08 GB, free: 38.34 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/7.541, allocations: 24 kB / 4.08 GB, free: 38.31 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/7.541, allocations: 16 kB / 4.08 GB, free: 38.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007775/7.542, allocations: 0.511 MB / 4.08 GB, free: 37.79 MB / 1.167 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.003621/7.546, allocations: 4.587 MB / 4.085 GB, free: 32.82 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/7.546, allocations: 431.2 kB / 4.085 GB, free: 32.38 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/7.547, allocations: 194.2 kB / 4.085 GB, free: 32.16 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/7.547, allocations: 290.7 kB / 4.086 GB, free: 31.85 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/7.547, allocations: 0 / 4.086 GB, free: 31.85 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.00302/7.55, allocations: 1.3 MB / 4.087 GB, free: 30.53 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/7.55, allocations: 93.05 kB / 4.087 GB, free: 30.42 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/7.551, allocations: 0.9876 MB / 4.088 GB, free: 29.41 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/7.551, allocations: 37.7 kB / 4.088 GB, free: 29.37 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/7.552, allocations: 496.4 kB / 4.088 GB, free: 28.88 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.78e-05/7.552, allocations: 110.5 kB / 4.089 GB, free: 28.77 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/7.552, allocations: 12 kB / 4.089 GB, free: 28.76 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/7.552, allocations: 318 kB / 4.089 GB, free: 28.45 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/7.552, allocations: 188.7 kB / 4.089 GB, free: 28.26 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/7.552, allocations: 0.5046 MB / 4.09 GB, free: 27.61 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/7.553, allocations: 296.2 kB / 4.09 GB, free: 27.32 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/7.553, allocations: 4 kB / 4.09 GB, free: 27.32 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001271/7.554, allocations: 0.9003 MB / 4.091 GB, free: 26.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003845/7.554, allocations: 2.128 MB / 4.093 GB, free: 24.11 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/7.554, allocations: 4 kB / 4.093 GB, free: 24.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/7.555, allocations: 262.2 kB / 4.093 GB, free: 23.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/7.555, allocations: 63.91 kB / 4.093 GB, free: 23.78 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/7.556, allocations: 1.082 MB / 4.094 GB, free: 22.68 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/7.557, allocations: 107.5 kB / 4.094 GB, free: 22.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/7.557, allocations: 27.98 kB / 4.094 GB, free: 22.54 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/7.557, allocations: 4 kB / 4.094 GB, free: 22.54 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/7.558, allocations: 0.7163 MB / 4.095 GB, free: 21.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/7.558, allocations: 4 kB / 4.095 GB, free: 21.81 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/7.559, allocations: 225.2 kB / 4.095 GB, free: 21.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/7.559, allocations: 67.84 kB / 4.095 GB, free: 21.52 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/7.562, allocations: 3.065 MB / 4.098 GB, free: 18.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/7.563, allocations: 91.59 kB / 4.098 GB, free: 18.22 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/7.563, allocations: 24 kB / 4.098 GB, free: 18.2 MB / 1.167 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005556/7.564, allocations: 468.7 kB / 4.099 GB, free: 17.73 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/7.564, allocations: 102.7 kB / 4.099 GB, free: 17.62 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/7.565, allocations: 0.7138 MB / 4.1 GB, free: 16.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/7.565, allocations: 4 kB / 4.1 GB, free: 16.89 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/7.565, allocations: 3.984 kB / 4.1 GB, free: 16.89 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/7.565, allocations: 0 / 4.1 GB, free: 16.89 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/7.567, allocations: 1.604 MB / 4.101 GB, free: 15.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/7.567, allocations: 4 kB / 4.101 GB, free: 15.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/7.567, allocations: 19.98 kB / 4.101 GB, free: 15.18 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/7.568, allocations: 250.5 kB / 4.101 GB, free: 14.93 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/7.568, allocations: 8 kB / 4.101 GB, free: 14.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007634/7.569, allocations: 1.03 MB / 4.102 GB, free: 13.87 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/7.569, allocations: 3.953 kB / 4.102 GB, free: 13.87 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/7.57, allocations: 0.9124 MB / 4.103 GB, free: 12.88 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000468/7.57, allocations: 223.7 kB / 4.104 GB, free: 12.64 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/7.57, allocations: 8 kB / 4.104 GB, free: 12.63 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/7.571, allocations: 59.8 kB / 4.104 GB, free: 12.57 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/7.571, allocations: 27.95 kB / 4.104 GB, free: 12.54 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/7.571, allocations: 11.94 kB / 4.104 GB, free: 12.53 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008484/7.572, allocations: 0.7876 MB / 4.104 GB, free: 11.73 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/7.572, allocations: 4 kB / 4.104 GB, free: 11.73 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001661/7.574, allocations: 0.5192 MB / 4.105 GB, free: 11.21 MB / 1.167 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002487/7.576, allocations: 2.716 MB / 4.108 GB, free: 8.434 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002273/7.578, allocations: 1.176 MB / 4.109 GB, free: 7.223 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/7.578, allocations: 4.062 kB / 4.109 GB, free: 7.219 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/7.579, allocations: 280.1 kB / 4.109 GB, free: 6.945 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/7.581, allocations: 466.2 kB / 4.109 GB, free: 6.496 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5701/8.151, allocations: 9.834 MB / 4.119 GB, free: 371.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/8.152, allocations: 1.201 MB / 4.12 GB, free: 371.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0012/8.153, allocations: 327.6 kB / 4.121 GB, free: 371.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/8.153, allocations: 312.3 kB / 4.121 GB, free: 371.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.343e-06/8.153, allocations: 0 / 4.121 GB, free: 371.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08248/8.236, allocations: 42.11 MB / 4.162 GB, free: 370.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/8.236, allocations: 271.2 kB / 4.162 GB, free: 370.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.42/11.66, allocations: 0 / 4.162 GB, free: 370.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat does not exist to compare? outputFormat=mat