Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",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.281/2.281, allocations: 390.3 MB / 405.3 MB, free: 13.4 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.00124/0.00124, allocations: 181 kB / 498.1 MB, free: 5.68 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.561/1.561, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0008937/0.0008939, allocations: 103.2 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 10.44 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2831, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.408, allocations: 440.1 MB / 1.653 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/1.408, allocations: 91.83 kB / 1.653 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.154/6.562, allocations: 1.519 GB / 3.172 GB, free: 15.26 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.555e-06/6.562, allocations: 7.984 kB / 3.172 GB, free: 15.25 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006395/6.562, allocations: 103.9 kB / 3.172 GB, free: 15.15 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01503/6.577, allocations: 5.197 MB / 3.177 GB, free: 9.875 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/6.578, allocations: 12.03 kB / 3.177 GB, free: 9.863 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001196/6.579, allocations: 287.3 kB / 3.178 GB, free: 9.57 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009066/6.588, allocations: 1.462 MB / 3.179 GB, free: 8.102 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06479/6.653, allocations: 28.34 MB / 3.207 GB, free: 11.43 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/6.653, allocations: 184.1 kB / 3.207 GB, free: 11.25 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/6.654, allocations: 240 kB / 3.207 GB, free: 11.01 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008366/6.663, allocations: 2.675 MB / 3.21 GB, free: 8.191 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.863e-05/6.663, allocations: 3.938 kB / 3.21 GB, free: 8.188 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005469/6.663, allocations: 87.95 kB / 3.21 GB, free: 8.102 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.288e-05/6.663, allocations: 52 kB / 3.21 GB, free: 8.051 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006435/6.67, allocations: 2.116 MB / 3.212 GB, free: 5.934 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 preOpt removeSimpleEquations (simulation): time 0.7219/7.392, allocations: 12.17 MB / 3.224 GB, free: 137 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/7.396, allocations: 1.72 MB / 3.226 GB, free: 137 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007704/7.404, allocations: 3.852 MB / 3.229 GB, free: 135.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/7.404, allocations: 44.23 kB / 3.229 GB, free: 135.4 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001428/7.405, allocations: 218.9 kB / 3.23 GB, free: 135.4 MB / 1.198 GB Notification: Performance of pre-optimization done (n=116): time 3.136e-06/7.405, allocations: 3.281 kB / 3.23 GB, free: 135.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=116): time 0.01359/7.419, allocations: 4.107 MB / 3.234 GB, free: 134.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/7.419, allocations: 63.78 kB / 3.234 GB, free: 134.4 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005015/7.424, allocations: 2.801 MB / 3.236 GB, free: 134.2 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002781/7.424, allocations: 62.94 kB / 3.236 GB, free: 134.1 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001304/7.425, allocations: 1.686 MB / 3.238 GB, free: 133.8 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/7.426, allocations: 399.7 kB / 3.239 GB, free: 133.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/7.426, allocations: 39 kB / 3.239 GB, free: 133.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000106/7.426, allocations: 371 kB / 3.239 GB, free: 133.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/7.428, allocations: 0.7805 MB / 3.24 GB, free: 133.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/7.431, allocations: 1.533 MB / 3.241 GB, free: 132.4 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/7.433, allocations: 0.9266 MB / 3.242 GB, free: 132.4 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/7.433, allocations: 5.094 kB / 3.242 GB, free: 132.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007366/7.44, allocations: 2.91 MB / 3.245 GB, free: 132.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001549/7.442, allocations: 7.687 MB / 3.252 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/7.442, allocations: 18.22 kB / 3.252 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/7.444, allocations: 0.6322 MB / 3.253 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/7.446, allocations: 412.2 kB / 3.253 GB, free: 124.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/7.449, allocations: 5.026 MB / 3.258 GB, free: 119.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/7.452, allocations: 251.6 kB / 3.259 GB, free: 119.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003218/7.453, allocations: 152.6 kB / 3.259 GB, free: 119.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/7.453, allocations: 4.469 kB / 3.259 GB, free: 119.9 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006548/7.459, allocations: 2.725 MB / 3.261 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/7.459, allocations: 20.5 kB / 3.261 GB, free: 119.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/7.462, allocations: 0.8981 MB / 3.262 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/7.463, allocations: 385.7 kB / 3.263 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/7.476, allocations: 12.71 MB / 3.275 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/7.48, allocations: 240.3 kB / 3.275 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/7.48, allocations: 130.9 kB / 3.275 GB, free: 111.7 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (184): * Single equations (assignments): 172 * 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.00227/7.482, allocations: 0.8237 MB / 3.276 GB, free: 111.5 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/7.483, allocations: 346.8 kB / 3.277 GB, free: 111.3 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007091/7.49, allocations: 2.965 MB / 3.279 GB, free: 111.1 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/7.49, allocations: 24.52 kB / 3.279 GB, free: 111.1 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/7.49, allocations: 2.906 kB / 3.279 GB, free: 111.1 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/7.49, allocations: 9.938 kB / 3.28 GB, free: 111.1 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.01106/7.501, allocations: 5.143 MB / 3.285 GB, free: 110.5 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/7.501, allocations: 7.141 kB / 3.285 GB, free: 110.5 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/7.502, allocations: 242.6 kB / 3.285 GB, free: 110.5 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/7.504, allocations: 0.6251 MB / 3.285 GB, free: 110.5 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/7.504, allocations: 43.84 kB / 3.285 GB, free: 110.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/7.507, allocations: 4.934 MB / 3.29 GB, free: 106.3 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/7.507, allocations: 3.938 kB / 3.29 GB, free: 106.3 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006898/7.514, allocations: 2.762 MB / 3.293 GB, free: 105.8 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001628/7.516, allocations: 0.5965 MB / 3.294 GB, free: 105.5 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/7.516, allocations: 26.47 kB / 3.294 GB, free: 105.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/7.518, allocations: 238.4 kB / 3.294 GB, free: 105.5 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/7.518, allocations: 87.58 kB / 3.294 GB, free: 105.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/7.518, allocations: 76.03 kB / 3.294 GB, free: 105.5 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.00308/7.521, allocations: 2.139 MB / 3.296 GB, free: 105.3 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.61e-07/7.521, allocations: 7.812 kB / 3.296 GB, free: 105.3 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.006671/7.528, allocations: 1.946 MB / 3.298 GB, free: 105.2 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (101): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00952/7.538, allocations: 5.426 MB / 3.303 GB, free: 103.6 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.008411/7.546, allocations: 3.929 MB / 3.307 GB, free: 103.1 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/7.546, allocations: 0 / 3.307 GB, free: 103.1 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/7.549, allocations: 0.9953 MB / 3.308 GB, free: 103.1 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006622/7.555, allocations: 1.526 MB / 3.31 GB, free: 103.1 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/7.573, allocations: 20.22 MB / 3.329 GB, free: 87.5 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/7.575, allocations: 2.236 MB / 3.331 GB, free: 86.75 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004215/7.58, allocations: 0.7881 MB / 3.332 GB, free: 86.71 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/7.581, allocations: 1.557 MB / 3.334 GB, free: 86.71 MB / 1.198 GB Notification: Performance of SimCode: time 9.01e-07/7.582, allocations: 0 / 3.334 GB, free: 86.71 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/7.759, allocations: 121.7 MB / 3.453 GB, free: 80.45 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/7.76, allocations: 270.5 kB / 3.453 GB, free: 80.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.366/14.13, allocations: 0 / 3.453 GB, free: 80.1 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat does not exist to compare? outputFormat=mat