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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 100.2 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.001281/0.001281, 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.355 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.51/2.51, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 16 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6581, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04388/0.702, allocations: 42.59 MB / 0.9952 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02369/0.7258, allocations: 14.04 MB / 1.009 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.7287, allocations: 63.62 kB / 1.009 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002931/0.7317, allocations: 0.8434 MB / 1.01 GB, free: 6.465 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00787/0.7396, allocations: 2.395 MB / 1.012 GB, free: 4.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/0.7451, allocations: 1.924 MB / 1.014 GB, free: 2.164 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006218/0.7513, allocations: 2.67 MB / 1.017 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/0.7535, allocations: 1.248 MB / 1.018 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.7565, allocations: 1.323 MB / 1.019 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.7578, allocations: 0.871 MB / 1.02 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.758, allocations: 72 kB / 1.02 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.7609, allocations: 1.116 MB / 1.021 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005441/0.7615, allocations: 438.5 kB / 1.022 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.762, allocations: 400.6 kB / 1.022 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.7653, allocations: 2.455 MB / 1.024 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.7653, allocations: 0 / 1.024 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7653, allocations: 0 / 1.024 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.631e-05/0.7653, allocations: 0 / 1.024 GB, free: 7.527 MB / 0.7794 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.004196/0.7696, allocations: 2.054 MB / 1.026 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.7696, allocations: 15.97 kB / 1.026 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/0.7698, allocations: 156.2 kB / 1.026 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.7743, allocations: 0.7897 MB / 1.027 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005881/0.7802, allocations: 1.873 MB / 1.029 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.7805, allocations: 86.28 kB / 1.029 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.7808, allocations: 112 kB / 1.029 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/0.7837, allocations: 1.266 MB / 1.031 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.7837, allocations: 0 / 1.031 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.7839, allocations: 36 kB / 1.031 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.7839, allocations: 41.94 kB / 1.031 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.7867, allocations: 1.038 MB / 1.032 GB, free: 15.91 MB / 0.795 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.00933/0.796, allocations: 5.772 MB / 1.037 GB, free: 9.77 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.7985, allocations: 0.8968 MB / 1.038 GB, free: 8.848 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003667/0.8022, allocations: 2.243 MB / 1.04 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.8022, allocations: 35.12 kB / 1.04 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004957/0.8027, allocations: 115.2 kB / 1.04 GB, free: 6.238 MB / 0.795 GB Notification: Performance of pre-optimization done (n=59): time 2.224e-06/0.8028, allocations: 4 kB / 1.04 GB, free: 6.234 MB / 0.795 GB Notification: Performance of matching and sorting (n=59): time 0.003895/0.8067, allocations: 1.35 MB / 1.042 GB, free: 4.855 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.8067, allocations: 63.95 kB / 1.042 GB, free: 4.777 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.8087, allocations: 1.48 MB / 1.043 GB, free: 3.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.8089, allocations: 45.7 kB / 1.043 GB, free: 3.246 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/0.8096, allocations: 0.7873 MB / 1.044 GB, free: 2.449 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.8098, allocations: 209 kB / 1.044 GB, free: 2.242 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.8099, allocations: 20 kB / 1.044 GB, free: 2.223 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.81, allocations: 337.9 kB / 1.045 GB, free: 1.887 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009742/0.811, allocations: 385.8 kB / 1.045 GB, free: 1.512 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.8123, allocations: 0.6828 MB / 1.046 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.8134, allocations: 458.9 kB / 1.046 GB, free: 256 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/0.8135, allocations: 0 / 1.046 GB, free: 256 kB / 0.795 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003328/0.8168, allocations: 1.274 MB / 1.047 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.002164/0.819, allocations: 3.345 MB / 1.051 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.819, allocations: 8.094 kB / 1.051 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000526/0.8195, allocations: 100.7 kB / 1.051 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.8207, allocations: 255.6 kB / 1.051 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007277/0.8214, allocations: 0.6538 MB / 1.052 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.8227, allocations: 111.8 kB / 1.052 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.8229, allocations: 63.97 kB / 1.052 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.8229, allocations: 4 kB / 1.052 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002728/0.8257, allocations: 1.179 MB / 1.053 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.8257, allocations: 12.69 kB / 1.053 GB, free: 8.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008994/0.8266, allocations: 212.6 kB / 1.053 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.8275, allocations: 239.7 kB / 1.053 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/0.8335, allocations: 3.348 MB / 1.057 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.8348, allocations: 91.97 kB / 1.057 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.835, allocations: 59.97 kB / 1.057 GB, free: 4.762 MB / 0.8106 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 (102): * Single equations (assignments): 99 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001037/0.836, allocations: 492.7 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.8363, allocations: 165.9 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003463/0.8397, allocations: 1.302 MB / 1.059 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.8398, allocations: 11.95 kB / 1.059 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.8398, allocations: 0 / 1.059 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.8398, allocations: 7.984 kB / 1.059 GB, free: 2.773 MB / 0.8106 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.005883/0.8457, allocations: 2.611 MB / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.8457, allocations: 128 / 1.061 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.8466, allocations: 147.9 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/0.8471, allocations: 116.5 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.8472, allocations: 27.97 kB / 1.062 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006444/0.8478, allocations: 0.6343 MB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.8478, allocations: 7.953 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.8517, allocations: 1.75 MB / 1.064 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007844/0.8525, allocations: 338.9 kB / 1.064 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.8527, allocations: 15.94 kB / 1.064 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009312/0.8536, allocations: 107.8 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.342e-05/0.8537, allocations: 44.48 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.8538, allocations: 39.97 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001484/0.8553, allocations: 1.008 MB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8553, allocations: 0 / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002705/0.858, allocations: 0.9162 MB / 1.066 GB, free: 10.83 MB / 0.8262 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 (66): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00516/0.8632, allocations: 3.007 MB / 1.069 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003905/0.8671, allocations: 1.702 MB / 1.071 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8672, allocations: 4 kB / 1.071 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.8683, allocations: 475.2 kB / 1.071 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/0.8716, allocations: 0.7036 MB / 1.072 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.8823, allocations: 9.787 MB / 1.082 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.8835, allocations: 1.403 MB / 1.083 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002118/0.8856, allocations: 433.2 kB / 1.083 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.8866, allocations: 0.6906 MB / 1.084 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of SimCode: time 1.543e-06/0.8866, allocations: 0 / 1.084 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08524/0.9719, allocations: 49.04 MB / 1.132 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.9721, allocations: 247.2 kB / 1.132 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/3.857, allocations: 0 / 1.132 GB, free: 7.59 MB / 0.8887 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