Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="IBPSA_latest_IBPSA_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.001011/0.001011, allocations: 104 kB / 16.27 MB, free: 5.984 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.0009884/0.0009884, allocations: 191 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7215/0.7215, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2852, allocations: 77.92 MB / 0.5673 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Examples.PumpsSeries): time 0.03898/0.3243, allocations: 51.46 MB / 0.6175 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02385/0.3481, allocations: 18.16 MB / 0.6353 GB, free: 5.062 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.3513, allocations: 75.62 kB / 0.6353 GB, free: 4.988 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01509/0.3664, allocations: 9.728 MB / 0.6448 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006575/0.373, allocations: 2.628 MB / 0.6474 GB, free: 8.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004314/0.3773, allocations: 2.06 MB / 0.6494 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01804/0.3954, allocations: 13.84 MB / 0.6629 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.3982, allocations: 1.67 MB / 0.6646 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.4024, allocations: 1.882 MB / 0.6664 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.4045, allocations: 1.447 MB / 0.6678 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000556/0.4051, allocations: 200 kB / 0.668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.4087, allocations: 1.876 MB / 0.6698 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008808/0.4095, allocations: 0.8723 MB / 0.6707 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.4113, allocations: 1.391 MB / 0.672 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.4167, allocations: 4.428 MB / 0.6764 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4167, allocations: 0 / 0.6764 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4167, allocations: 0 / 0.6764 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.635e-05/0.4168, allocations: 0 / 0.6764 GB, free: 10.88 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.005314/0.4221, allocations: 3.191 MB / 0.6795 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4222, allocations: 12.62 kB / 0.6795 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.4224, allocations: 152.3 kB / 0.6796 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005286/0.4276, allocations: 0.9292 MB / 0.6805 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/0.4428, allocations: 8.696 MB / 0.689 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.443, allocations: 93.98 kB / 0.6891 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.4433, allocations: 116 kB / 0.6892 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.4461, allocations: 1.49 MB / 0.6907 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.4461, allocations: 3.938 kB / 0.6907 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.4462, allocations: 48 kB / 0.6907 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.4463, allocations: 41.98 kB / 0.6908 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/0.4495, allocations: 1.327 MB / 0.6921 GB, free: 10.55 MB / 0.5294 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.008819/0.4583, allocations: 6.976 MB / 0.6989 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003498/0.4618, allocations: 1.201 MB / 0.7001 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.463, allocations: 0.5004 MB / 0.7006 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003236/0.4663, allocations: 2.711 MB / 0.7032 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4663, allocations: 43.12 kB / 0.7032 GB, free: 14.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 3.196e-06/0.4663, allocations: 3.984 kB / 0.7032 GB, free: 14.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.004715/0.471, allocations: 1.739 MB / 0.7049 GB, free: 12.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.4711, allocations: 55.97 kB / 0.705 GB, free: 12.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.4743, allocations: 2.593 MB / 0.7075 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.547e-05/0.4744, allocations: 45.7 kB / 0.7076 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008033/0.4752, allocations: 1.052 MB / 0.7086 GB, free: 8.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.4755, allocations: 220.9 kB / 0.7088 GB, free: 8.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005494/0.476, allocations: 439 kB / 0.7092 GB, free: 8.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.4761, allocations: 305.1 kB / 0.7095 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/0.478, allocations: 1.149 MB / 0.7106 GB, free: 6.805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002282/0.4803, allocations: 1.546 MB / 0.7122 GB, free: 5.113 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.4842, allocations: 2.473 MB / 0.7146 GB, free: 2.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.4842, allocations: 4 kB / 0.7146 GB, free: 2.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005274/0.4895, allocations: 3.057 MB / 0.7176 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4896, allocations: 14.31 kB / 0.7176 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.4896, allocations: 8 kB / 0.7176 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004971/0.4901, allocations: 152.8 kB / 0.7177 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.4916, allocations: 363.4 kB / 0.7181 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005433/0.4921, allocations: 0.6655 MB / 0.7187 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.4938, allocations: 215.2 kB / 0.7189 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.494, allocations: 95.95 kB / 0.719 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002391/0.4964, allocations: 1.507 MB / 0.7205 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001896/0.4983, allocations: 1.36 MB / 0.7218 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003311/0.5016, allocations: 2.098 MB / 0.7239 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.5016, allocations: 8 kB / 0.7239 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.004994/0.5066, allocations: 2.713 MB / 0.7265 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.5066, allocations: 8.625 kB / 0.7265 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.5066, allocations: 8 kB / 0.7265 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009225/0.5076, allocations: 212.7 kB / 0.7267 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.5089, allocations: 343.5 kB / 0.7271 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005729/0.5146, allocations: 3.512 MB / 0.7305 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.5163, allocations: 195.5 kB / 0.7307 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.5165, allocations: 83.95 kB / 0.7308 GB, free: 1.418 MB / 0.5606 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 (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003501/0.5169, allocations: 252.8 kB / 0.731 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004358/0.5173, allocations: 232.9 kB / 0.7312 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/0.5213, allocations: 1.595 MB / 0.7328 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.5213, allocations: 8 kB / 0.7328 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5214, allocations: 0 / 0.7328 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5214, allocations: 3.984 kB / 0.7328 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005772/0.5271, allocations: 3.101 MB / 0.7358 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.5272, allocations: 0 / 0.7358 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.5281, allocations: 167.9 kB / 0.736 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/0.5285, allocations: 112.6 kB / 0.7361 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.5286, allocations: 31.97 kB / 0.7361 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004256/0.529, allocations: 0.6343 MB / 0.7367 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.529, allocations: 7.938 kB / 0.7368 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.5337, allocations: 2.16 MB / 0.7389 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006952/0.5345, allocations: 425.8 kB / 0.7393 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003266/0.5348, allocations: 23.98 kB / 0.7393 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.536, allocations: 71.92 kB / 0.7394 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.5361, allocations: 56.44 kB / 0.7394 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.5362, allocations: 43.91 kB / 0.7395 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002298/0.5385, allocations: 1.724 MB / 0.7411 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5385, allocations: 4 kB / 0.7411 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002793/0.5413, allocations: 1.209 MB / 0.7423 GB, free: 5.379 MB / 0.5762 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 (67): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006408/0.5477, allocations: 3.328 MB / 0.7456 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2096/0.7573, allocations: 3.556 MB / 0.749 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7573, allocations: 2.031 kB / 0.749 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.7589, allocations: 0.5779 MB / 0.7496 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004405/0.7633, allocations: 1.15 MB / 0.7507 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03065/0.7939, allocations: 21.6 MB / 0.7718 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009715/0.7949, allocations: 1.716 MB / 0.7735 GB, free: 150.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002826/0.7978, allocations: 0.6633 MB / 0.7742 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.7988, allocations: 0.9931 MB / 0.7751 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7988, allocations: 0 / 0.7751 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08278/0.8816, allocations: 70.08 MB / 0.8436 GB, free: 84.98 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.64, allocations: 10.28 kB / 0.8436 GB, free: 84.97 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IBPSA_latest_IBPSA_Fluid_Movers_Examples_PumpsSeries.fmu > IBPSA_latest_IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)