Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_PumpsSeries",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.348/2.348, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001198/0.001198, allocations: 189.6 kB / 498.1 MB, free: 5.754 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.485/1.485, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.000897/0.0008972, allocations: 106.8 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003756, allocations: 9.344 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2502, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9926/1.243, allocations: 435 MB / 1.648 GB, free: 14.62 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/1.243, allocations: 97.81 kB / 1.648 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.668/3.912, allocations: 0.6881 GB / 2.336 GB, free: 238.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.743e-06/3.912, allocations: 1.531 kB / 2.336 GB, free: 238.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002082/3.912, allocations: 49.16 kB / 2.336 GB, free: 238.9 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.005665/3.918, allocations: 2.466 MB / 2.338 GB, free: 238.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/3.918, allocations: 7.594 kB / 2.338 GB, free: 238.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/3.918, allocations: 154.3 kB / 2.339 GB, free: 238.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003721/3.922, allocations: 0.7164 MB / 2.339 GB, free: 238 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02689/3.949, allocations: 14.42 MB / 2.353 GB, free: 237.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/3.949, allocations: 81.44 kB / 2.353 GB, free: 237.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/3.949, allocations: 114.7 kB / 2.354 GB, free: 237.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/3.951, allocations: 1.296 MB / 2.355 GB, free: 237.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/3.951, allocations: 0 / 2.355 GB, free: 237.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/3.951, allocations: 45.5 kB / 2.355 GB, free: 237.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.42e-05/3.951, allocations: 40.2 kB / 2.355 GB, free: 237.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/3.953, allocations: 1.048 MB / 2.356 GB, free: 237 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.008594/3.962, allocations: 5.796 MB / 2.362 GB, free: 234.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/3.964, allocations: 0.9254 MB / 2.362 GB, free: 234.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003727/3.968, allocations: 2.377 MB / 2.365 GB, free: 233.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/3.968, allocations: 44.34 kB / 2.365 GB, free: 233 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006342/3.969, allocations: 124 kB / 2.365 GB, free: 233 MB / 1.167 GB Notification: Performance of pre-optimization done (n=65): time 2.805e-06/3.969, allocations: 0 / 2.365 GB, free: 233 MB / 1.167 GB Notification: Performance of matching and sorting (n=65): time 0.006597/3.975, allocations: 1.924 MB / 2.367 GB, free: 232.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/3.975, allocations: 57.94 kB / 2.367 GB, free: 232.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/3.978, allocations: 1.312 MB / 2.368 GB, free: 232.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-05/3.978, allocations: 46.72 kB / 2.368 GB, free: 232.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000638/3.979, allocations: 0.789 MB / 2.369 GB, free: 232.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/3.979, allocations: 231.9 kB / 2.369 GB, free: 232.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/3.979, allocations: 17.44 kB / 2.369 GB, free: 232.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.959e-05/3.979, allocations: 339.7 kB / 2.37 GB, free: 231.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009947/3.98, allocations: 390.5 kB / 2.37 GB, free: 231.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/3.981, allocations: 0.7357 MB / 2.371 GB, free: 231.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/3.982, allocations: 473.3 kB / 2.371 GB, free: 231.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/3.982, allocations: 2.125 kB / 2.371 GB, free: 231.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003565/3.986, allocations: 1.367 MB / 2.372 GB, free: 231.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007171/3.987, allocations: 3.339 MB / 2.376 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/3.987, allocations: 7.875 kB / 2.376 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009351/3.988, allocations: 272.4 kB / 2.376 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/3.989, allocations: 230.8 kB / 2.376 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/3.99, allocations: 1.455 MB / 2.378 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/3.992, allocations: 98.94 kB / 2.378 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/3.992, allocations: 76.44 kB / 2.378 GB, free: 226.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/3.992, allocations: 6.031 kB / 2.378 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002532/3.994, allocations: 1.233 MB / 2.379 GB, free: 226.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/3.994, allocations: 7.594 kB / 2.379 GB, free: 226.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009184/3.995, allocations: 338.1 kB / 2.379 GB, free: 226.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/3.996, allocations: 219 kB / 2.38 GB, free: 226.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/4.002, allocations: 4.015 MB / 2.383 GB, free: 224.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/4.003, allocations: 111.8 kB / 2.384 GB, free: 224.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/4.003, allocations: 59.75 kB / 2.384 GB, free: 224.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (94): * Single equations (assignments): 90 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001002/4.004, allocations: 496.3 kB / 2.384 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/4.005, allocations: 159.4 kB / 2.384 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/4.009, allocations: 1.554 MB / 2.386 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/4.009, allocations: 14.3 kB / 2.386 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/4.009, allocations: 0 / 2.386 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/4.009, allocations: 3.609 kB / 2.386 GB, free: 224 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 postOpt removeSimpleEquations (simulation): time 0.006074/4.015, allocations: 2.826 MB / 2.389 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/4.015, allocations: 3.375 kB / 2.389 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006721/4.016, allocations: 130.8 kB / 2.389 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008037/4.017, allocations: 277.6 kB / 2.389 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-05/4.017, allocations: 28.41 kB / 2.389 GB, free: 223.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/4.018, allocations: 1.365 MB / 2.39 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/4.018, allocations: 0 / 2.39 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/4.022, allocations: 1.984 MB / 2.392 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008269/4.023, allocations: 346.5 kB / 2.393 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/4.023, allocations: 22.94 kB / 2.393 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/4.024, allocations: 100.5 kB / 2.393 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/4.024, allocations: 47.25 kB / 2.393 GB, free: 222 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.804e-05/4.024, allocations: 44.2 kB / 2.393 GB, free: 222 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001665/4.026, allocations: 1.015 MB / 2.394 GB, free: 221.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.026, allocations: 0 / 2.394 GB, free: 221.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004042/4.03, allocations: 1.045 MB / 2.395 GB, free: 221.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.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 (61): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006679/4.037, allocations: 4.005 MB / 2.399 GB, free: 220.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004614/4.041, allocations: 1.853 MB / 2.4 GB, free: 220.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/4.041, allocations: 0 / 2.4 GB, free: 220.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/4.043, allocations: 0.5174 MB / 2.401 GB, free: 220.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/4.046, allocations: 0.6996 MB / 2.402 GB, free: 220.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/4.053, allocations: 9.887 MB / 2.411 GB, free: 212.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/4.054, allocations: 1.402 MB / 2.413 GB, free: 211.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001856/4.056, allocations: 415.3 kB / 2.413 GB, free: 211.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000814/4.057, allocations: 0.6752 MB / 2.414 GB, free: 211.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/4.057, allocations: 0 / 2.414 GB, free: 211.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0931/4.15, allocations: 59.64 MB / 2.472 GB, free: 209.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/4.151, allocations: 241.2 kB / 2.472 GB, free: 209.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.987/8.137, allocations: 0 / 2.472 GB, free: 209.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat does not exist to compare? outputFormat=mat