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.192/2.192, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001162/0.001162, allocations: 176.8 kB / 487.4 MB, free: 5.066 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.394/1.394, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.001068/0.001068, allocations: 103.2 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.92e-05/1.922e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2537, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.451, allocations: 434.3 MB / 1.63 GB, free: 4.449 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.451, allocations: 93.06 kB / 1.63 GB, free: 4.402 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.96/4.411, allocations: 0.6822 GB / 2.312 GB, free: 247.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.994e-06/4.411, allocations: 0 / 2.312 GB, free: 247.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000508/4.411, allocations: 44.14 kB / 2.312 GB, free: 247.2 MB / 1.151 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.0081/4.419, allocations: 1.874 MB / 2.314 GB, free: 246.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/4.42, allocations: 6.812 kB / 2.314 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005399/4.425, allocations: 0.7177 MB / 2.315 GB, free: 246.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03515/4.46, allocations: 14.29 MB / 2.329 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/4.46, allocations: 34.81 kB / 2.329 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005244/4.461, allocations: 76.06 kB / 2.329 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002552/4.463, allocations: 0.8688 MB / 2.33 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/4.466, allocations: 1.068 MB / 2.331 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/4.466, allocations: 2.438 kB / 2.331 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/4.467, allocations: 0 / 2.331 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-05/4.467, allocations: 36.28 kB / 2.331 GB, free: 245.3 MB / 1.151 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.011/4.478, allocations: 5.596 MB / 2.336 GB, free: 242.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/4.479, allocations: 0.8568 MB / 2.337 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/4.48, allocations: 375.8 kB / 2.338 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004721/4.485, allocations: 2.341 MB / 2.34 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/4.485, allocations: 39.97 kB / 2.34 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001008/4.486, allocations: 112.8 kB / 2.34 GB, free: 241.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 8.986e-06/4.486, allocations: 0 / 2.34 GB, free: 241.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.004171/4.49, allocations: 1.158 MB / 2.341 GB, free: 241.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/4.49, allocations: 63.48 kB / 2.341 GB, free: 241 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002707/4.493, allocations: 1.152 MB / 2.342 GB, free: 240.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/4.493, allocations: 29.61 kB / 2.342 GB, free: 240.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000706/4.494, allocations: 0.7794 MB / 2.343 GB, free: 240.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/4.494, allocations: 220.4 kB / 2.343 GB, free: 240.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/4.494, allocations: 0 / 2.343 GB, free: 240.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001079/4.494, allocations: 344 kB / 2.344 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/4.495, allocations: 344.5 kB / 2.344 GB, free: 240.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008409/4.496, allocations: 0.6778 MB / 2.345 GB, free: 239.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/4.497, allocations: 0.5266 MB / 2.345 GB, free: 239.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/4.497, allocations: 7.109 kB / 2.345 GB, free: 239.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003561/4.501, allocations: 1.33 MB / 2.347 GB, free: 239.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009221/4.502, allocations: 3.329 MB / 2.35 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.479e-05/4.502, allocations: 11.62 kB / 2.35 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008248/4.503, allocations: 281.1 kB / 2.35 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/4.504, allocations: 236.9 kB / 2.35 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/4.505, allocations: 1.525 MB / 2.352 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/4.507, allocations: 85.47 kB / 2.352 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/4.507, allocations: 72.5 kB / 2.352 GB, free: 235 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/4.507, allocations: 2.938 kB / 2.352 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002868/4.51, allocations: 1.089 MB / 2.353 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/4.51, allocations: 7.781 kB / 2.353 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007833/4.511, allocations: 298.4 kB / 2.353 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/4.512, allocations: 220.9 kB / 2.354 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005795/4.518, allocations: 3.809 MB / 2.357 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/4.519, allocations: 85.83 kB / 2.357 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/4.519, allocations: 59.44 kB / 2.357 GB, free: 232.7 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac1.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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0005389/4.52, allocations: 140.6 kB / 2.358 GB, free: 232.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003907/4.524, allocations: 1.097 MB / 2.359 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/4.524, allocations: 163.7 kB / 2.359 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/4.529, allocations: 1.363 MB / 2.36 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/4.529, allocations: 10.72 kB / 2.36 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/4.529, allocations: 7.562 kB / 2.36 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/4.529, allocations: 3.891 kB / 2.36 GB, free: 232.3 MB / 1.151 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 0.006775/4.535, allocations: 2.532 MB / 2.363 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/4.535, allocations: 0 / 2.363 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/4.536, allocations: 138.9 kB / 2.363 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/4.537, allocations: 197.6 kB / 2.363 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.997e-05/4.537, allocations: 25.66 kB / 2.363 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/4.538, allocations: 1.37 MB / 2.364 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/4.538, allocations: 3.844 kB / 2.364 GB, free: 230.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00385/4.542, allocations: 1.724 MB / 2.366 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/4.543, allocations: 337 kB / 2.366 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000561/4.543, allocations: 3.562 kB / 2.366 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/4.545, allocations: 89.19 kB / 2.366 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/4.545, allocations: 54.95 kB / 2.366 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/4.545, allocations: 39.19 kB / 2.366 GB, free: 230.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002036/4.547, allocations: 0.8725 MB / 2.367 GB, free: 230.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.547, allocations: 0 / 2.367 GB, free: 230.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005353/4.553, allocations: 0.9863 MB / 2.368 GB, free: 230 MB / 1.151 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 () * 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.007371/4.56, allocations: 3.672 MB / 2.372 GB, free: 228.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00346/4.563, allocations: 1.625 MB / 2.373 GB, free: 227.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/4.563, allocations: 0 / 2.373 GB, free: 227.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008441/4.564, allocations: 429.7 kB / 2.374 GB, free: 227.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/4.568, allocations: 0.6511 MB / 2.374 GB, free: 227.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008018/4.576, allocations: 2.549 MB / 2.377 GB, free: 226.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/4.578, allocations: 1.404 MB / 2.378 GB, free: 225.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003126/4.581, allocations: 0.5557 MB / 2.379 GB, free: 225.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009623/4.582, allocations: 0.6537 MB / 2.38 GB, free: 225 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/4.582, allocations: 0 / 2.38 GB, free: 225 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/4.691, allocations: 54.04 MB / 2.432 GB, free: 203.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/4.691, allocations: 164.8 kB / 2.432 GB, free: 203.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.949/8.64, allocations: 0 / 2.432 GB, free: 203.2 MB / 1.151 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