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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009626/0.0009628, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6795, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos): time 0.1647/0.8443, allocations: 173.5 MB / 1.123 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.08972/0.9341, allocations: 57.29 MB / 1.179 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/0.9462, allocations: 274.2 kB / 1.179 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0129/0.9591, allocations: 3.432 MB / 1.183 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.03178/0.9909, allocations: 10.4 MB / 1.193 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.02057/1.012, allocations: 7.744 MB / 1.2 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.03054/1.042, allocations: 13.22 MB / 1.213 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01211/1.054, allocations: 6.073 MB / 1.219 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01641/1.071, allocations: 6.341 MB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008979/1.08, allocations: 4.547 MB / 1.23 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00335/1.083, allocations: 392 kB / 1.23 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/1.095, allocations: 2.486 MB / 1.233 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005909/1.101, allocations: 2.901 MB / 1.235 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006351/1.108, allocations: 2.172 MB / 1.238 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 1.262/2.37, allocations: 12.81 MB / 1.25 GB, free: 32.94 MB / 0.9982 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/2.37, allocations: 0 / 1.25 GB, free: 32.94 MB / 0.9982 GB Notification: Performance of FrontEnd: time 3.827e-06/2.37, allocations: 0 / 1.25 GB, free: 32.94 MB / 0.9982 GB Notification: Performance of Transformations before backend: time 0.000734/2.371, allocations: 0.625 kB / 1.25 GB, free: 32.94 MB / 0.9982 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.03437/2.405, allocations: 11.16 MB / 1.261 GB, free: 28.17 MB / 0.9982 GB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/2.405, allocations: 12.52 kB / 1.261 GB, free: 28.17 MB / 0.9982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002947/2.408, allocations: 0.62 MB / 1.262 GB, free: 28.11 MB / 0.9982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02507/2.433, allocations: 4.083 MB / 1.266 GB, free: 27.29 MB / 0.9982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04192/2.475, allocations: 16.87 MB / 1.282 GB, free: 25.69 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003376/2.479, allocations: 1.062 MB / 1.283 GB, free: 25.62 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002771/2.482, allocations: 0.5443 MB / 1.284 GB, free: 25.61 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02495/2.506, allocations: 7.415 MB / 1.291 GB, free: 24.89 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004303/2.507, allocations: 12.03 kB / 1.291 GB, free: 24.89 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002413/2.509, allocations: 201.7 kB / 1.291 GB, free: 24.89 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/2.51, allocations: 182.9 kB / 1.291 GB, free: 24.88 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02444/2.534, allocations: 6.875 MB / 1.298 GB, free: 24.66 MB / 0.9982 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.07803/2.612, allocations: 32.75 MB / 1.33 GB, free: 11.77 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/2.63, allocations: 5.244 MB / 1.335 GB, free: 11.53 MB / 0.9982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03092/2.661, allocations: 10.84 MB / 1.346 GB, free: 23.69 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.013e-05/2.661, allocations: 62.09 kB / 1.346 GB, free: 23.65 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007098/2.668, allocations: 0.6168 MB / 1.346 GB, free: 23.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=252): time 2.722e-05/2.668, allocations: 0 / 1.346 GB, free: 23.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=252): time 0.03179/2.7, allocations: 8.356 MB / 1.354 GB, free: 22.51 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/2.7, allocations: 79.34 kB / 1.354 GB, free: 22.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02588/2.726, allocations: 14.07 MB / 1.368 GB, free: 19.94 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.001653/2.728, allocations: 102.9 kB / 1.368 GB, free: 19.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.005602/2.733, allocations: 4.85 MB / 1.373 GB, free: 18.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.002061/2.735, allocations: 0.889 MB / 1.374 GB, free: 17.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/2.737, allocations: 87.72 kB / 1.374 GB, free: 17.83 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000459/2.737, allocations: 498.1 kB / 1.374 GB, free: 17.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009364/2.747, allocations: 3.162 MB / 1.378 GB, free: 16.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/2.757, allocations: 5.184 MB / 1.383 GB, free: 11.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/2.768, allocations: 3.497 MB / 1.386 GB, free: 9.027 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-05/2.768, allocations: 16 kB / 1.386 GB, free: 9.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=622) (initialization): time 0.03057/2.799, allocations: 9.045 MB / 1.395 GB, free: 2.25 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0126/2.812, allocations: 34.72 MB / 1.429 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/2.812, allocations: 60 kB / 1.429 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/2.812, allocations: 92 kB / 1.429 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008646/2.821, allocations: 1.726 MB / 1.431 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001437/2.821, allocations: 121.8 kB / 1.431 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/2.833, allocations: 0.8472 MB / 1.432 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00182/2.834, allocations: 421 kB / 1.432 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/2.834, allocations: 4 kB / 1.432 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02234/2.857, allocations: 8.454 MB / 1.44 GB, free: 4.277 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002679/2.857, allocations: 60 kB / 1.44 GB, free: 4.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/2.857, allocations: 92 kB / 1.44 GB, free: 4.129 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007305/2.865, allocations: 1.575 MB / 1.442 GB, free: 2.668 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001665/2.865, allocations: 118.6 kB / 1.442 GB, free: 2.574 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/2.877, allocations: 0.7543 MB / 1.443 GB, free: 1.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/2.879, allocations: 369.8 kB / 1.443 GB, free: 1.57 MB / 1.061 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (567): * Single equations (assignments): 557 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007594/2.886, allocations: 2.249 MB / 1.445 GB, free: 352 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004522/2.891, allocations: 0.914 MB / 1.446 GB, free: 15.41 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02709/2.918, allocations: 7.45 MB / 1.453 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.794e-05/2.918, allocations: 48.86 kB / 1.454 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/2.918, allocations: 0 / 1.454 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.763e-05/2.918, allocations: 14.77 kB / 1.454 GB, free: 9.621 MB / 1.076 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.0476/2.966, allocations: 14.6 MB / 1.468 GB, free: 15.1 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/2.966, allocations: 4 kB / 1.468 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005949/2.972, allocations: 1.048 MB / 1.469 GB, free: 14.09 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.441e-05/2.972, allocations: 12 kB / 1.469 GB, free: 14.08 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008228/2.973, allocations: 126.4 kB / 1.469 GB, free: 14 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.943e-05/2.973, allocations: 15.38 kB / 1.469 GB, free: 13.99 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/2.973, allocations: 3.953 kB / 1.469 GB, free: 13.98 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03057/3.004, allocations: 10.13 MB / 1.479 GB, free: 6.152 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007753/3.011, allocations: 1.707 MB / 1.481 GB, free: 4.871 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004665/3.016, allocations: 65.48 kB / 1.481 GB, free: 4.852 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/3.027, allocations: 0.7967 MB / 1.481 GB, free: 4.094 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008532/3.028, allocations: 200.3 kB / 1.482 GB, free: 3.918 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001161/3.029, allocations: 180.5 kB / 1.482 GB, free: 3.762 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.02077/3.05, allocations: 9.996 MB / 1.492 GB, free: 13.25 MB / 1.108 GB Notification: Performance of sort global known variables: time 5.91e-07/3.05, allocations: 0 / 1.492 GB, free: 13.25 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.02322/3.073, allocations: 4.115 MB / 1.496 GB, free: 9.379 MB / 1.108 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (309): * Single equations (assignments): 287 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03772/3.111, allocations: 11.87 MB / 1.507 GB, free: 24 kB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.03485/3.146, allocations: 11.39 MB / 1.518 GB, free: 7.77 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/3.146, allocations: 0 / 1.518 GB, free: 7.77 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/3.156, allocations: 2.957 MB / 1.521 GB, free: 5.555 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02442/3.181, allocations: 4.582 MB / 1.526 GB, free: 1.797 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08337/3.264, allocations: 65.63 MB / 1.59 GB, free: 1.391 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009456/3.274, allocations: 5.145 MB / 1.595 GB, free: 12.71 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0176/3.291, allocations: 2.78 MB / 1.597 GB, free: 9.93 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01037/3.302, allocations: 4.772 MB / 1.602 GB, free: 8.84 MB / 1.201 GB Notification: Performance of SimCode: time 3.246e-06/3.302, allocations: 1.859 kB / 1.602 GB, free: 8.84 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8775/4.179, allocations: 267 MB / 1.863 GB, free: 453.4 MB / 1.311 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/4.18, allocations: 223.5 kB / 1.863 GB, free: 453.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/14.32, allocations: 0 / 1.863 GB, free: 453.2 MB / 1.311 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