Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.164/2.164, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001018/0.001018, allocations: 180.8 kB / 487.4 MB, free: 5.02 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.52/1.52, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009035/0.0009034, allocations: 87.92 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.961e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2675, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.396, allocations: 440.7 MB / 1.636 GB, free: 13.91 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/1.396, allocations: 90.88 kB / 1.636 GB, free: 13.86 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 6.021/7.417, allocations: 1.454 GB / 3.09 GB, free: 140.1 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.064e-06/7.417, allocations: 1.094 kB / 3.09 GB, free: 140.1 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0008572/7.418, allocations: 105.9 kB / 3.09 GB, free: 140.1 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.0153/7.434, allocations: 3.709 MB / 3.094 GB, free: 138.9 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/7.434, allocations: 9.469 kB / 3.094 GB, free: 138.9 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/7.444, allocations: 1.478 MB / 3.095 GB, free: 138.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06749/7.512, allocations: 28.95 MB / 3.124 GB, free: 137.2 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/7.512, allocations: 67.03 kB / 3.124 GB, free: 137.2 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/7.513, allocations: 145.7 kB / 3.124 GB, free: 137.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004358/7.518, allocations: 1.936 MB / 3.126 GB, free: 137.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005036/7.523, allocations: 2.308 MB / 3.128 GB, free: 136.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/7.523, allocations: 3.969 kB / 3.128 GB, free: 136.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/7.523, allocations: 2.938 kB / 3.128 GB, free: 136.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.012e-05/7.523, allocations: 51.44 kB / 3.128 GB, free: 136.9 MB / 1.182 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.02456/7.548, allocations: 12.08 MB / 3.14 GB, free: 131 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/7.551, allocations: 2.053 MB / 3.142 GB, free: 131 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/7.553, allocations: 0.8339 MB / 3.143 GB, free: 130.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009585/7.562, allocations: 4.137 MB / 3.147 GB, free: 129.1 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/7.562, allocations: 46.03 kB / 3.147 GB, free: 129 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002332/7.565, allocations: 172.5 kB / 3.147 GB, free: 129 MB / 1.182 GB Notification: Performance of pre-optimization done (n=119): time 4.889e-06/7.565, allocations: 2.734 kB / 3.147 GB, free: 129 MB / 1.182 GB Notification: Performance of matching and sorting (n=119): time 0.008739/7.573, allocations: 2.746 MB / 3.15 GB, free: 128.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/7.573, allocations: 67.59 kB / 3.15 GB, free: 128.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004802/7.578, allocations: 2.614 MB / 3.152 GB, free: 128.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0005901/7.579, allocations: 29.64 kB / 3.152 GB, free: 128.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/7.58, allocations: 1.778 MB / 3.154 GB, free: 127.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/7.581, allocations: 398.3 kB / 3.154 GB, free: 127.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/7.581, allocations: 0 / 3.154 GB, free: 127.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001381/7.581, allocations: 386.1 kB / 3.155 GB, free: 127.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/7.582, allocations: 0.8347 MB / 3.155 GB, free: 127.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/7.584, allocations: 1.632 MB / 3.157 GB, free: 126.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/7.587, allocations: 1.232 MB / 3.158 GB, free: 126.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/7.587, allocations: 3.938 kB / 3.158 GB, free: 126.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007426/7.595, allocations: 3.304 MB / 3.161 GB, free: 125.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001769/7.597, allocations: 8.082 MB / 3.169 GB, free: 117.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/7.597, allocations: 19.44 kB / 3.169 GB, free: 117.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/7.598, allocations: 0.8498 MB / 3.17 GB, free: 117.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/7.6, allocations: 429.3 kB / 3.171 GB, free: 117.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/7.605, allocations: 5.834 MB / 3.176 GB, free: 113.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/7.609, allocations: 219.6 kB / 3.177 GB, free: 113.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005391/7.61, allocations: 175.2 kB / 3.177 GB, free: 113.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/7.61, allocations: 3.938 kB / 3.177 GB, free: 113.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007019/7.617, allocations: 2.767 MB / 3.179 GB, free: 113.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.504e-05/7.617, allocations: 20.06 kB / 3.179 GB, free: 113.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/7.619, allocations: 0.9995 MB / 3.18 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/7.621, allocations: 405.7 kB / 3.181 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01588/7.637, allocations: 13.66 MB / 3.194 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004388/7.641, allocations: 211.4 kB / 3.194 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005272/7.642, allocations: 161.2 kB / 3.195 GB, free: 105.2 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008472/7.643, allocations: 167.5 kB / 3.195 GB, free: 105 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006796/7.649, allocations: 2.22 MB / 3.197 GB, free: 104.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/7.651, allocations: 347.2 kB / 3.197 GB, free: 104.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007758/7.658, allocations: 2.848 MB / 3.2 GB, free: 104.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/7.659, allocations: 15.97 kB / 3.2 GB, free: 104.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/7.659, allocations: 3.938 kB / 3.2 GB, free: 104.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/7.659, allocations: 11.92 kB / 3.2 GB, free: 104.3 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.01221/7.671, allocations: 4.786 MB / 3.205 GB, free: 103.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/7.671, allocations: 7.578 kB / 3.205 GB, free: 103.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/7.672, allocations: 245.9 kB / 3.205 GB, free: 103.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/7.673, allocations: 0.5147 MB / 3.205 GB, free: 103.7 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/7.673, allocations: 35.86 kB / 3.205 GB, free: 103.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/7.676, allocations: 5.052 MB / 3.21 GB, free: 99.54 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/7.676, allocations: 1.875 kB / 3.21 GB, free: 99.54 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005848/7.682, allocations: 2.566 MB / 3.213 GB, free: 98.89 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002362/7.685, allocations: 0.6082 MB / 3.213 GB, free: 98.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008307/7.685, allocations: 3.562 kB / 3.213 GB, free: 98.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/7.688, allocations: 220.6 kB / 3.214 GB, free: 98.59 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/7.688, allocations: 90.25 kB / 3.214 GB, free: 98.59 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/7.688, allocations: 85.55 kB / 3.214 GB, free: 98.59 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003474/7.692, allocations: 1.947 MB / 3.216 GB, free: 98.41 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.6e-07/7.692, allocations: 0 / 3.216 GB, free: 98.41 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01068/7.703, allocations: 1.956 MB / 3.218 GB, free: 98.11 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.009765/7.712, allocations: 5.289 MB / 3.223 GB, free: 96.23 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.007454/7.72, allocations: 3.944 MB / 3.227 GB, free: 95.73 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/7.72, allocations: 5.344 kB / 3.227 GB, free: 95.73 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/7.722, allocations: 0.8336 MB / 3.227 GB, free: 95.72 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009003/7.731, allocations: 1.588 MB / 3.229 GB, free: 95.7 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/7.746, allocations: 5.344 MB / 3.234 GB, free: 94.27 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001941/7.748, allocations: 2.339 MB / 3.237 GB, free: 93.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.006592/7.754, allocations: 1.27 MB / 3.238 GB, free: 93.47 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/7.757, allocations: 1.563 MB / 3.239 GB, free: 93.46 MB / 1.182 GB Notification: Performance of SimCode: time 1.333e-06/7.757, allocations: 0 / 3.239 GB, free: 93.46 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1843/7.941, allocations: 118.8 MB / 3.355 GB, free: 86.8 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/7.941, allocations: 181.3 kB / 3.355 GB, free: 86.61 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/14.67, allocations: 4 kB / 3.355 GB, free: 86.61 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat does not exist to compare? outputFormat=mat