Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.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.Pump_Nrpm_stratos,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos",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.248/2.248, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001068/0.001068, allocations: 184.5 kB / 487.4 MB, free: 5.059 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.603/1.603, allocations: 221.5 MB / 0.7824 GB, free: 1.02 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.0009885/0.0009885, allocations: 98.08 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.286e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3008, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.573, allocations: 399.1 MB / 1.596 GB, free: 5.973 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.573, allocations: 82.2 kB / 1.596 GB, free: 5.934 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 10.22/11.79, allocations: 2.684 GB / 4.28 GB, free: 77.76 MB / 1.26 GB Notification: Performance of FrontEnd: time 1.482e-06/11.79, allocations: 0 / 4.28 GB, free: 77.76 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001994/11.79, allocations: 248.5 kB / 4.28 GB, free: 77.73 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.02929/11.82, allocations: 8.416 MB / 4.288 GB, free: 73.77 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/11.82, allocations: 11.5 kB / 4.288 GB, free: 73.77 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02298/11.84, allocations: 3.711 MB / 4.292 GB, free: 73.14 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1318/11.98, allocations: 60.95 MB / 4.352 GB, free: 68.67 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/11.98, allocations: 161.2 kB / 4.352 GB, free: 68.67 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002277/11.98, allocations: 340.7 kB / 4.352 GB, free: 68.66 MB / 1.26 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.011/11.99, allocations: 4.975 MB / 4.357 GB, free: 68.63 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/12, allocations: 5.624 MB / 4.362 GB, free: 67.81 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/12, allocations: 7.812 kB / 4.362 GB, free: 67.8 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006293/12, allocations: 3.781 kB / 4.362 GB, free: 67.8 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/12, allocations: 189.2 kB / 4.363 GB, free: 67.79 MB / 1.26 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.05595/12.06, allocations: 29.69 MB / 4.392 GB, free: 55.58 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008478/12.07, allocations: 4.732 MB / 4.396 GB, free: 53.73 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/12.07, allocations: 2.231 MB / 4.398 GB, free: 52.86 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02303/12.09, allocations: 11.67 MB / 4.41 GB, free: 45.81 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/12.09, allocations: 68.47 kB / 4.41 GB, free: 45.75 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005729/12.1, allocations: 0.5226 MB / 4.41 GB, free: 45.54 MB / 1.26 GB Notification: Performance of pre-optimization done (n=277): time 1.119e-05/12.1, allocations: 0 / 4.41 GB, free: 45.54 MB / 1.26 GB Notification: Performance of matching and sorting (n=277): time 0.01928/12.12, allocations: 6.334 MB / 4.417 GB, free: 43.3 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/12.12, allocations: 79.84 kB / 4.417 GB, free: 43.24 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02625/12.15, allocations: 9.48 MB / 4.426 GB, free: 39.49 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001575/12.15, allocations: 29.77 kB / 4.426 GB, free: 39.46 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.005696/12.15, allocations: 4.808 MB / 4.431 GB, free: 35.68 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/12.15, allocations: 0.9378 MB / 4.431 GB, free: 34.93 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/12.16, allocations: 0 / 4.431 GB, free: 34.93 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0003446/12.16, allocations: 0.4904 MB / 4.432 GB, free: 34.54 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/12.16, allocations: 2.315 MB / 4.434 GB, free: 33.62 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00424/12.16, allocations: 4.426 MB / 4.439 GB, free: 29.86 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008603/12.17, allocations: 3.308 MB / 4.442 GB, free: 28.7 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.012e-05/12.17, allocations: 15.06 kB / 4.442 GB, free: 28.7 MB / 1.26 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01995/12.19, allocations: 7.992 MB / 4.45 GB, free: 24.93 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 0.008968/12.2, allocations: 34.34 MB / 4.483 GB, free: 21.34 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001818/12.2, allocations: 60 kB / 4.483 GB, free: 21.28 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/12.2, allocations: 0.8508 MB / 4.484 GB, free: 20.55 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006693/12.21, allocations: 1.338 MB / 4.485 GB, free: 19.44 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00477/12.21, allocations: 3.965 MB / 4.489 GB, free: 15.52 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/12.23, allocations: 456 kB / 4.49 GB, free: 15.19 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002086/12.23, allocations: 443.7 kB / 4.49 GB, free: 14.8 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/12.23, allocations: 4 kB / 4.49 GB, free: 14.79 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0159/12.24, allocations: 6.154 MB / 4.496 GB, free: 9.406 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001957/12.24, allocations: 60 kB / 4.496 GB, free: 9.348 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/12.25, allocations: 0.841 MB / 4.497 GB, free: 8.621 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005804/12.25, allocations: 1.267 MB / 4.498 GB, free: 7.555 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/12.26, allocations: 3.955 MB / 4.502 GB, free: 3.641 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009931/12.27, allocations: 436.5 kB / 4.502 GB, free: 3.32 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/12.27, allocations: 381.4 kB / 4.503 GB, free: 2.977 MB / 1.292 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: forcedPump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pump5.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: pump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump4.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: pump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump3.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: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump2.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: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 266 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (532): * Single equations (assignments): 517 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.002044/12.27, allocations: 299.7 kB / 4.503 GB, free: 2.688 MB / 1.292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02327/12.29, allocations: 5.485 MB / 4.508 GB, free: 15.36 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004154/12.3, allocations: 0.8945 MB / 4.509 GB, free: 14.45 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/12.32, allocations: 6.341 MB / 4.516 GB, free: 9.422 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.751e-05/12.32, allocations: 39.89 kB / 4.516 GB, free: 9.387 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/12.32, allocations: 4 kB / 4.516 GB, free: 9.383 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.724e-05/12.32, allocations: 19.05 kB / 4.516 GB, free: 9.379 MB / 1.307 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 1.026/13.34, allocations: 13.34 MB / 4.529 GB, free: 120.4 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/13.34, allocations: 1.75 kB / 4.529 GB, free: 120.4 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004375/13.35, allocations: 0.6816 MB / 4.529 GB, free: 120.4 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/13.35, allocations: 0.6455 MB / 4.53 GB, free: 120.4 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006832/13.35, allocations: 91.2 kB / 4.53 GB, free: 120.4 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003353/13.35, allocations: 3.621 MB / 4.534 GB, free: 117.8 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/13.35, allocations: 2.531 kB / 4.534 GB, free: 117.8 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/13.37, allocations: 7.735 MB / 4.541 GB, free: 117.1 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008009/13.38, allocations: 1.911 MB / 4.543 GB, free: 116.9 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00389/13.39, allocations: 17.75 kB / 4.543 GB, free: 116.9 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008398/13.39, allocations: 463.2 kB / 4.543 GB, free: 116.9 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006744/13.39, allocations: 203.3 kB / 4.544 GB, free: 116.9 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005647/13.4, allocations: 190.2 kB / 4.544 GB, free: 116.9 MB / 1.307 GB Notification: Performance of sorting global known variables: time 0.0158/13.41, allocations: 7.075 MB / 4.551 GB, free: 116.6 MB / 1.307 GB Notification: Performance of sort global known variables: time 1.282e-06/13.41, allocations: 0 / 4.551 GB, free: 116.6 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.0194/13.43, allocations: 4.142 MB / 4.555 GB, free: 116.4 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,2 8,2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.02644/13.46, allocations: 12.58 MB / 4.567 GB, free: 113.2 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.01852/13.48, allocations: 8.609 MB / 4.575 GB, free: 113.1 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/13.48, allocations: 3.172 kB / 4.575 GB, free: 113.1 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.003864/13.48, allocations: 1.981 MB / 4.577 GB, free: 113.1 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02114/13.5, allocations: 4.258 MB / 4.582 GB, free: 113 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04476/13.55, allocations: 15.28 MB / 4.596 GB, free: 109.7 MB / 1.307 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00991/13.56, allocations: 5.169 MB / 4.602 GB, free: 108.8 MB / 1.307 GB Notification: Performance of simCode: alias equations: time 0.02764/13.58, allocations: 4.77 MB / 4.606 GB, free: 108.7 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00833/13.59, allocations: 4.512 MB / 4.611 GB, free: 108.7 MB / 1.307 GB Notification: Performance of SimCode: time 2.765e-06/13.59, allocations: 0 / 4.611 GB, free: 108.7 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4435/14.03, allocations: 280.1 MB / 4.884 GB, free: 50.55 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/14.04, allocations: 170.1 kB / 4.884 GB, free: 50.36 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.55/31.58, allocations: 0 / 4.884 GB, free: 50.36 MB / 1.307 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos_res.mat does not exist to compare? outputFormat=mat