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.117/2.117, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.001091/0.001091, allocations: 169 kB / 492.3 MB, free: 0.5859 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.481/1.481, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0009602/0.00096, allocations: 100.3 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.542e-05/2.555e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2514, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.446, allocations: 435 MB / 1.637 GB, free: 11.57 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/1.447, allocations: 90.58 kB / 1.637 GB, free: 11.53 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.14/4.586, allocations: 0.686 GB / 2.323 GB, free: 247.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/4.586, allocations: 0 / 2.323 GB, free: 247.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003698/4.587, allocations: 44.83 kB / 2.323 GB, free: 247.4 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.006016/4.593, allocations: 1.878 MB / 2.325 GB, free: 246.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/4.593, allocations: 7.812 kB / 2.325 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005332/4.593, allocations: 150.6 kB / 2.325 GB, free: 246.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004629/4.598, allocations: 0.7165 MB / 2.326 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03239/4.63, allocations: 14.32 MB / 2.34 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/4.631, allocations: 89.91 kB / 2.34 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005506/4.631, allocations: 111.8 kB / 2.34 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/4.634, allocations: 1.204 MB / 2.341 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/4.634, allocations: 3.172 kB / 2.341 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/4.635, allocations: 41.5 kB / 2.342 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/4.635, allocations: 41.92 kB / 2.342 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/4.636, allocations: 0.8706 MB / 2.342 GB, free: 245.4 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.01066/4.647, allocations: 5.795 MB / 2.348 GB, free: 242.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/4.649, allocations: 0.7855 MB / 2.349 GB, free: 242.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/4.649, allocations: 347.2 kB / 2.349 GB, free: 242.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004344/4.654, allocations: 2.396 MB / 2.352 GB, free: 240.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/4.654, allocations: 42.92 kB / 2.352 GB, free: 240.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009188/4.655, allocations: 129.5 kB / 2.352 GB, free: 240.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 6.933e-06/4.655, allocations: 2.75 kB / 2.352 GB, free: 240.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.002674/4.657, allocations: 0.9816 MB / 2.353 GB, free: 240.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/4.657, allocations: 62.75 kB / 2.353 GB, free: 240.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/4.66, allocations: 1.299 MB / 2.354 GB, free: 239.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/4.66, allocations: 45.55 kB / 2.354 GB, free: 239.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006053/4.661, allocations: 0.781 MB / 2.355 GB, free: 238.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/4.661, allocations: 229.2 kB / 2.355 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/4.661, allocations: 15.84 kB / 2.355 GB, free: 238.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/4.661, allocations: 341.7 kB / 2.355 GB, free: 238.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/4.661, allocations: 311.6 kB / 2.356 GB, free: 238.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/4.662, allocations: 0.6611 MB / 2.356 GB, free: 237.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/4.663, allocations: 399.1 kB / 2.357 GB, free: 237.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/4.663, allocations: 3.969 kB / 2.357 GB, free: 237.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002242/4.665, allocations: 1.216 MB / 2.358 GB, free: 237.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008211/4.666, allocations: 3.335 MB / 2.361 GB, free: 233.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/4.666, allocations: 9.625 kB / 2.361 GB, free: 233.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008211/4.667, allocations: 262.8 kB / 2.361 GB, free: 233.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009907/4.668, allocations: 240 kB / 2.362 GB, free: 233.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/4.669, allocations: 1.417 MB / 2.363 GB, free: 232.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/4.671, allocations: 110.7 kB / 2.363 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/4.671, allocations: 76.73 kB / 2.363 GB, free: 232.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/4.671, allocations: 5.375 kB / 2.363 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002053/4.673, allocations: 1.091 MB / 2.364 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/4.673, allocations: 7.719 kB / 2.364 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008537/4.674, allocations: 314.7 kB / 2.365 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/4.675, allocations: 225.9 kB / 2.365 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005797/4.681, allocations: 3.898 MB / 2.369 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/4.682, allocations: 92.38 kB / 2.369 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/4.683, allocations: 63.38 kB / 2.369 GB, free: 229.2 MB / 1.151 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 () * 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.0004384/4.683, allocations: 175.3 kB / 2.369 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005182/4.684, allocations: 159.7 kB / 2.369 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/4.687, allocations: 1.402 MB / 2.37 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/4.687, allocations: 7 kB / 2.37 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/4.687, allocations: 0 / 2.37 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/4.687, allocations: 8.172 kB / 2.37 GB, free: 228.5 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.006256/4.694, allocations: 2.661 MB / 2.373 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/4.694, allocations: 7.406 kB / 2.373 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/4.694, allocations: 141.8 kB / 2.373 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007437/4.695, allocations: 236.6 kB / 2.373 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.233e-05/4.695, allocations: 31.98 kB / 2.373 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/4.696, allocations: 1.354 MB / 2.375 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/4.696, allocations: 7.375 kB / 2.375 GB, free: 226 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/4.699, allocations: 1.746 MB / 2.376 GB, free: 225.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/4.701, allocations: 349.3 kB / 2.377 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005267/4.701, allocations: 21.27 kB / 2.377 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/4.703, allocations: 99.66 kB / 2.377 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/4.703, allocations: 49.2 kB / 2.377 GB, free: 224.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/4.703, allocations: 44.72 kB / 2.377 GB, free: 224.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002268/4.705, allocations: 0.9986 MB / 2.378 GB, free: 224.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.61e-07/4.705, allocations: 0 / 2.378 GB, free: 224.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005306/4.71, allocations: 1.033 MB / 2.379 GB, free: 224.2 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.00683/4.717, allocations: 3.753 MB / 2.383 GB, free: 222.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004146/4.721, allocations: 1.685 MB / 2.384 GB, free: 221.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/4.721, allocations: 0 / 2.384 GB, free: 221.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007919/4.722, allocations: 457.1 kB / 2.385 GB, free: 221.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003991/4.726, allocations: 0.7044 MB / 2.385 GB, free: 221.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007577/4.734, allocations: 2.629 MB / 2.388 GB, free: 220.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/4.735, allocations: 1.406 MB / 2.389 GB, free: 219.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003066/4.738, allocations: 0.5737 MB / 2.39 GB, free: 219.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009344/4.739, allocations: 0.6534 MB / 2.391 GB, free: 219 MB / 1.151 GB Notification: Performance of SimCode: time 1.593e-06/4.739, allocations: 3.125 kB / 2.391 GB, free: 219 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2148/4.954, allocations: 64.32 MB / 2.453 GB, free: 173.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/4.954, allocations: 214.5 kB / 2.454 GB, free: 173.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.283/9.237, allocations: 0 / 2.454 GB, free: 173.6 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