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.274/2.274, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00103/0.00103, allocations: 169.2 kB / 498.1 MB, free: 5.738 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.486/1.486, allocations: 223.1 MB / 0.7948 GB, free: 17.96 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.0009431/0.000943, allocations: 98.83 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003548, allocations: 6.969 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9915/1.247, allocations: 441.4 MB / 1.654 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/1.247, allocations: 95.7 kB / 1.654 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.23/6.477, allocations: 1.467 GB / 3.121 GB, free: 64.77 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.326e-06/6.477, allocations: 4 kB / 3.121 GB, free: 64.76 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008687/6.478, allocations: 103.9 kB / 3.121 GB, free: 64.66 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.02065/6.499, allocations: 5.681 MB / 3.126 GB, free: 58.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/6.499, allocations: 12.03 kB / 3.126 GB, free: 58.89 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001417/6.5, allocations: 294.1 kB / 3.127 GB, free: 58.59 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009672/6.51, allocations: 1.484 MB / 3.128 GB, free: 57.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05914/6.569, allocations: 29.18 MB / 3.157 GB, free: 27.68 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/6.569, allocations: 184.2 kB / 3.157 GB, free: 27.49 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009666/6.57, allocations: 240 kB / 3.157 GB, free: 27.26 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007177/6.578, allocations: 2.795 MB / 3.16 GB, free: 24.32 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-05/6.578, allocations: 0 / 3.16 GB, free: 24.32 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/6.578, allocations: 88 kB / 3.16 GB, free: 24.23 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/6.578, allocations: 52 kB / 3.16 GB, free: 24.18 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005956/6.584, allocations: 2.159 MB / 3.162 GB, free: 22.02 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.01903/6.603, allocations: 12.51 MB / 3.174 GB, free: 8.688 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/6.607, allocations: 1.796 MB / 3.176 GB, free: 6.887 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006586/6.613, allocations: 4.211 MB / 3.18 GB, free: 2.352 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/6.613, allocations: 47.56 kB / 3.18 GB, free: 2.297 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001585/6.615, allocations: 226.2 kB / 3.18 GB, free: 2.074 MB / 1.167 GB Notification: Performance of pre-optimization done (n=119): time 3.637e-06/6.615, allocations: 0 / 3.18 GB, free: 2.074 MB / 1.167 GB Notification: Performance of matching and sorting (n=119): time 0.01377/6.629, allocations: 4.254 MB / 3.184 GB, free: 13.64 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/6.629, allocations: 64.41 kB / 3.185 GB, free: 13.56 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006147/6.635, allocations: 3.005 MB / 3.187 GB, free: 10.55 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0006648/6.636, allocations: 61.7 kB / 3.188 GB, free: 10.48 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002012/6.638, allocations: 1.778 MB / 3.189 GB, free: 8.688 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008394/6.639, allocations: 410 kB / 3.19 GB, free: 8.281 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/6.639, allocations: 36 kB / 3.19 GB, free: 8.246 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002247/6.639, allocations: 377.9 kB / 3.19 GB, free: 7.871 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/6.641, allocations: 0.8471 MB / 3.191 GB, free: 7.023 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/6.644, allocations: 1.655 MB / 3.193 GB, free: 5.004 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/6.647, allocations: 1.018 MB / 3.193 GB, free: 3.988 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/6.647, allocations: 4 kB / 3.193 GB, free: 3.984 MB / 1.182 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008055/6.655, allocations: 3.073 MB / 3.197 GB, free: 0.8828 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.003397/6.659, allocations: 8.163 MB / 3.204 GB, free: 8.277 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/6.659, allocations: 20 kB / 3.204 GB, free: 8.258 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/6.661, allocations: 0.674 MB / 3.205 GB, free: 7.562 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/6.663, allocations: 423.3 kB / 3.206 GB, free: 7.148 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004761/6.668, allocations: 5.16 MB / 3.211 GB, free: 1.785 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/6.672, allocations: 267.7 kB / 3.211 GB, free: 1.523 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/6.673, allocations: 179.9 kB / 3.211 GB, free: 1.348 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/6.673, allocations: 4 kB / 3.211 GB, free: 1.344 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8242/7.497, allocations: 3.103 MB / 3.214 GB, free: 144.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.982e-05/7.497, allocations: 19.12 kB / 3.214 GB, free: 144.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003454/7.5, allocations: 1.088 MB / 3.215 GB, free: 144.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/7.502, allocations: 400 kB / 3.216 GB, free: 144.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/7.523, allocations: 14.43 MB / 3.23 GB, free: 136.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/7.527, allocations: 249.1 kB / 3.23 GB, free: 136.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004804/7.527, allocations: 151.1 kB / 3.23 GB, free: 136.2 MB / 1.198 GB 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 () * Number of clocked 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.002934/7.53, allocations: 0.8789 MB / 3.231 GB, free: 136 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/7.532, allocations: 366.3 kB / 3.231 GB, free: 136 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/7.543, allocations: 3.259 MB / 3.234 GB, free: 135.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-05/7.543, allocations: 22.47 kB / 3.234 GB, free: 135.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/7.543, allocations: 0 / 3.234 GB, free: 135.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/7.543, allocations: 8.422 kB / 3.234 GB, free: 135.8 MB / 1.198 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.01483/7.558, allocations: 5.387 MB / 3.24 GB, free: 135.3 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/7.558, allocations: 6.562 kB / 3.24 GB, free: 135.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/7.559, allocations: 254.4 kB / 3.24 GB, free: 135.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/7.561, allocations: 0.6648 MB / 3.241 GB, free: 135.2 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/7.561, allocations: 50.62 kB / 3.241 GB, free: 135.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/7.564, allocations: 5.034 MB / 3.246 GB, free: 131.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/7.564, allocations: 3.938 kB / 3.246 GB, free: 131.1 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008269/7.572, allocations: 2.956 MB / 3.248 GB, free: 130.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/7.575, allocations: 0.629 MB / 3.249 GB, free: 130.1 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006565/7.576, allocations: 28.55 kB / 3.249 GB, free: 130.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/7.578, allocations: 242.9 kB / 3.249 GB, free: 130.1 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/7.578, allocations: 94.39 kB / 3.249 GB, free: 130.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/7.578, allocations: 83.69 kB / 3.249 GB, free: 130.1 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.003935/7.582, allocations: 2.287 MB / 3.252 GB, free: 130 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.4e-07/7.582, allocations: 4.062 kB / 3.252 GB, free: 130 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.00903/7.591, allocations: 2.04 MB / 3.254 GB, free: 129.9 MB / 1.198 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 () * Number of clocked 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.01038/7.602, allocations: 5.756 MB / 3.259 GB, free: 128.1 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.009305/7.611, allocations: 4.218 MB / 3.263 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/7.611, allocations: 0 / 3.263 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/7.614, allocations: 1.044 MB / 3.264 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009778/7.624, allocations: 1.69 MB / 3.266 GB, free: 127.6 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/7.644, allocations: 21.25 MB / 3.287 GB, free: 111.2 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/7.646, allocations: 2.334 MB / 3.289 GB, free: 110.4 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004873/7.651, allocations: 0.8493 MB / 3.29 GB, free: 110.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/7.653, allocations: 1.636 MB / 3.292 GB, free: 110.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.573e-06/7.653, allocations: 2.906 kB / 3.292 GB, free: 110.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2189/7.872, allocations: 130 MB / 3.419 GB, free: 104.1 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/7.872, allocations: 273.4 kB / 3.419 GB, free: 103.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/14.76, allocations: 4 kB / 3.419 GB, free: 103.7 MB / 1.198 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