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.001206/0.001206, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001527/0.001527, allocations: 168.7 kB / 15.95 MB, free: 204 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.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.422 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.522/2.522, allocations: 390.4 MB / 0.6655 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8095/0.8099, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04827/0.8582, allocations: 46.69 MB / 0.9994 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0242/0.8824, allocations: 15.12 MB / 1.014 GB, free: 2.211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004578/0.8871, allocations: 67.56 kB / 1.014 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003268/0.8904, allocations: 0.6948 MB / 1.015 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00716/0.8975, allocations: 1.936 MB / 1.017 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.9025, allocations: 1.469 MB / 1.018 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008419/0.911, allocations: 4.961 MB / 1.023 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.9142, allocations: 1.248 MB / 1.024 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004054/0.9183, allocations: 1.443 MB / 1.026 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.9211, allocations: 1.233 MB / 1.027 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0006363/0.9218, allocations: 72 kB / 1.027 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0036/0.9254, allocations: 1.08 MB / 1.028 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.9264, allocations: 478.2 kB / 1.029 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.9275, allocations: 396.7 kB / 1.029 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004077/0.9316, allocations: 2.482 MB / 1.031 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.9316, allocations: 3.938 kB / 1.031 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9316, allocations: 0 / 1.031 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.711e-05/0.9317, allocations: 4 kB / 1.031 GB, free: 0.5859 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.004972/0.9367, allocations: 2.065 MB / 1.033 GB, free: 14.46 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.9368, allocations: 8.031 kB / 1.033 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003579/0.9371, allocations: 148.2 kB / 1.034 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003853/0.941, allocations: 0.7897 MB / 1.034 GB, free: 13.51 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004556/0.9456, allocations: 1.879 MB / 1.036 GB, free: 11.58 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.9457, allocations: 82.28 kB / 1.036 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.9459, allocations: 108 kB / 1.036 GB, free: 11.4 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.9483, allocations: 1.281 MB / 1.038 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.9484, allocations: 4 kB / 1.038 GB, free: 10.07 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.9485, allocations: 40 kB / 1.038 GB, free: 10.03 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.9485, allocations: 38 kB / 1.038 GB, free: 9.996 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.9509, allocations: 1.062 MB / 1.039 GB, free: 8.934 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.008311/0.9593, allocations: 5.772 MB / 1.044 GB, free: 2.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.9614, allocations: 0.9282 MB / 1.045 GB, free: 1.836 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008632/0.9623, allocations: 418.3 kB / 1.046 GB, free: 1.426 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00317/0.9655, allocations: 2.231 MB / 1.048 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.9655, allocations: 39.12 kB / 1.048 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005294/0.9661, allocations: 115.2 kB / 1.048 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=59): time 4.799e-06/0.9661, allocations: 0 / 1.048 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59): time 0.003529/0.9696, allocations: 1.393 MB / 1.049 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.9697, allocations: 63.92 kB / 1.049 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.9717, allocations: 1.468 MB / 1.051 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/0.9718, allocations: 41.7 kB / 1.051 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/0.9725, allocations: 0.7835 MB / 1.052 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.9727, allocations: 212.8 kB / 1.052 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.9727, allocations: 16 kB / 1.052 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.9729, allocations: 341.9 kB / 1.052 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.9738, allocations: 401.7 kB / 1.053 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.9749, allocations: 0.6945 MB / 1.053 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.976, allocations: 470.9 kB / 1.054 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.976, allocations: 4 kB / 1.054 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002754/0.9787, allocations: 1.292 MB / 1.055 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.979, allocations: 346.2 kB / 1.055 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.9791, allocations: 15.98 kB / 1.055 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/0.9795, allocations: 96.73 kB / 1.055 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/0.9805, allocations: 247.6 kB / 1.056 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006135/0.9811, allocations: 0.6616 MB / 1.056 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.9824, allocations: 95.98 kB / 1.056 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.9826, allocations: 59.97 kB / 1.056 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.9826, allocations: 4 kB / 1.056 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002562/0.9852, allocations: 1.211 MB / 1.058 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.9852, allocations: 12 kB / 1.058 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007823/0.986, allocations: 217.2 kB / 1.058 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008647/0.9869, allocations: 231.7 kB / 1.058 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005805/0.9927, allocations: 3.216 MB / 1.061 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.9942, allocations: 95.98 kB / 1.061 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.9943, allocations: 59.97 kB / 1.061 GB, free: 0.5664 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.001088/0.9954, allocations: 484.7 kB / 1.062 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.9957, allocations: 170 kB / 1.062 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/0.9988, allocations: 1.318 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.9988, allocations: 11.98 kB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9988, allocations: 3.953 kB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.9988, allocations: 0 / 1.063 GB, free: 14.57 MB / 0.8262 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.004928/1.004, allocations: 2.531 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.004, allocations: 4 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007296/1.005, allocations: 143.8 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003412/1.005, allocations: 116.7 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/1.005, allocations: 27.98 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005095/1.005, allocations: 0.6343 MB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.005, allocations: 0 / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/1.009, allocations: 1.746 MB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007204/1.01, allocations: 330.8 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/1.01, allocations: 12 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/1.011, allocations: 103.8 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.011, allocations: 44.5 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/1.011, allocations: 35.97 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001632/1.013, allocations: 0.9926 MB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/1.013, allocations: 4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003078/1.016, allocations: 0.8966 MB / 1.071 GB, free: 6.82 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.005714/1.021, allocations: 2.692 MB / 1.073 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004306/1.026, allocations: 1.744 MB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.026, allocations: 0 / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.027, allocations: 484.1 kB / 1.075 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/1.03, allocations: 0.7243 MB / 1.076 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02482/1.055, allocations: 10.41 MB / 1.086 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/1.057, allocations: 1.368 MB / 1.088 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002164/1.059, allocations: 425.3 kB / 1.088 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.06, allocations: 0.6828 MB / 1.089 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of SimCode: time 1.413e-06/1.06, allocations: 0 / 1.089 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0925/1.152, allocations: 49.52 MB / 1.137 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/1.153, allocations: 255.5 kB / 1.137 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/4.191, allocations: 0 / 1.137 GB, free: 2.383 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