Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9073/0.9073, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5513/0.5513, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.144e-05, allocations: 4.031 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.01537/0.01539, allocations: 21.42 MB / 0.5751 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.00547/0.02086, allocations: 4.743 MB / 0.5798 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006539/0.02152, allocations: 35.69 kB / 0.5798 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007357/0.02225, allocations: 285.9 kB / 0.5801 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.02362, allocations: 0.8468 MB / 0.5809 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.02477, allocations: 0.8065 MB / 0.5817 GB, free: 6.551 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001424/0.02619, allocations: 1.632 MB / 0.5833 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.02659, allocations: 377.4 kB / 0.5836 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.02776, allocations: 0.9283 MB / 0.5845 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.02812, allocations: 398.7 kB / 0.5849 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.02817, allocations: 44 kB / 0.585 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007064/0.02888, allocations: 415 kB / 0.5854 GB, free: 2.762 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.02899, allocations: 151.4 kB / 0.5855 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.02916, allocations: 215.5 kB / 0.5857 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0009669/0.03012, allocations: 0.9503 MB / 0.5866 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.03013, allocations: 8 kB / 0.5866 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.455e-06/0.03013, allocations: 0 / 0.5866 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.03014, allocations: 0 / 0.5866 GB, free: 1.441 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009491/0.03109, allocations: 0.8159 MB / 0.5874 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.03114, allocations: 12.62 kB / 0.5875 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.231e-05/0.03121, allocations: 74.72 kB / 0.5875 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.03138, allocations: 68.56 kB / 0.5876 GB, free: 444 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007683/0.03215, allocations: 0.5027 MB / 0.5881 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.03217, allocations: 29 kB / 0.5881 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.03222, allocations: 44 kB / 0.5882 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.03274, allocations: 0.5095 MB / 0.5887 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.03276, allocations: 0 / 0.5887 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.03279, allocations: 16 kB / 0.5887 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.03281, allocations: 12 kB / 0.5887 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.03315, allocations: 303.8 kB / 0.589 GB, free: 14.96 MB / 0.5573 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.001723/0.03487, allocations: 1.521 MB / 0.5905 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.03525, allocations: 241.5 kB / 0.5907 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.03538, allocations: 116.8 kB / 0.5908 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.03563, allocations: 103.8 kB / 0.5909 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.03566, allocations: 38.56 kB / 0.5909 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.03566, allocations: 0 / 0.5909 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=26): time 0.0004958/0.03616, allocations: 376.6 kB / 0.5913 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.03619, allocations: 59.34 kB / 0.5913 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.03658, allocations: 477.9 kB / 0.5918 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.03661, allocations: 33.7 kB / 0.5918 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.03676, allocations: 260.4 kB / 0.5921 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.03682, allocations: 99.23 kB / 0.5922 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.0369, allocations: 73.97 kB / 0.5922 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.03701, allocations: 358.7 kB / 0.5926 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.03713, allocations: 96.59 kB / 0.5927 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.03732, allocations: 249.2 kB / 0.5929 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.0376, allocations: 290.6 kB / 0.5932 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.03761, allocations: 0 / 0.5932 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003812/0.03799, allocations: 361.3 kB / 0.5935 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.038, allocations: 8 kB / 0.5935 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.03801, allocations: 0 / 0.5935 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.03802, allocations: 7.938 kB / 0.5936 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.03818, allocations: 67.91 kB / 0.5936 GB, free: 9.992 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.03819, allocations: 7.938 kB / 0.5936 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.03833, allocations: 47.66 kB / 0.5937 GB, free: 9.938 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.03835, allocations: 15.98 kB / 0.5937 GB, free: 9.922 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.0385, allocations: 177.9 kB / 0.5939 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.03856, allocations: 59.66 kB / 0.5939 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005271/0.03909, allocations: 477 kB / 0.5944 GB, free: 9.207 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.0391, allocations: 7.938 kB / 0.5944 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.03911, allocations: 0 / 0.5944 GB, free: 9.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004078/0.03951, allocations: 0.5777 MB / 0.5949 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.04058, allocations: 1.007 MB / 0.5959 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.04058, allocations: 0 / 0.5959 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.04071, allocations: 51.91 kB / 0.596 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.04071, allocations: 4 kB / 0.596 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.04073, allocations: 8 kB / 0.596 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.04074, allocations: 15.91 kB / 0.596 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.04074, allocations: 4.188 kB / 0.596 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.04133, allocations: 0.6846 MB / 0.5967 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.04145, allocations: 103.5 kB / 0.5968 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.04149, allocations: 11.94 kB / 0.5968 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.04162, allocations: 8 kB / 0.5968 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.04166, allocations: 27.89 kB / 0.5968 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.04168, allocations: 23.92 kB / 0.5968 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002672/0.04195, allocations: 342.9 kB / 0.5972 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.04195, allocations: 3.938 kB / 0.5972 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004169/0.04236, allocations: 203.5 kB / 0.5974 GB, free: 5.973 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.04348, allocations: 1.392 MB / 0.5987 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.04381, allocations: 275.7 kB / 0.599 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.04381, allocations: 448 / 0.599 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.04396, allocations: 163.7 kB / 0.5991 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/0.04481, allocations: 324.1 kB / 0.5995 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.04853, allocations: 4.141 MB / 0.6035 GB, free: 15.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.0487, allocations: 262.4 kB / 0.6037 GB, free: 15.22 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000255/0.04895, allocations: 124.7 kB / 0.6039 GB, free: 15.09 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.04913, allocations: 188.4 kB / 0.604 GB, free: 14.91 MB / 0.573 GB Notification: Performance of SimCode: time 5.81e-07/0.04913, allocations: 0 / 0.604 GB, free: 14.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.0789, allocations: 18.65 MB / 0.6223 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.469, allocations: 10.72 kB / 0.6223 GB, free: 12.7 MB / 0.5886 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.141859764233232] Failed to read output from testmodel.py, exit status != 0: 7.5575573379173875 7.566827382 7.534812855 Calling exit ...