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.001253/0.001253, allocations: 119.4 kB / 19.7 MB, free: 2.188 MB / 14.72 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.001365/0.001365, allocations: 219.7 kB / 23 MB, free: 5.004 MB / 14.72 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 1.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.902/0.902, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 62.47 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.206, allocations: 89.18 MB / 0.7284 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02619/0.2322, allocations: 23.78 MB / 0.7516 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00805/0.2402, allocations: 5.124 MB / 0.7566 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009494/0.2412, allocations: 39.62 kB / 0.7566 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009207/0.2421, allocations: 286 kB / 0.7569 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.2444, allocations: 0.8396 MB / 0.7577 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.2466, allocations: 0.8082 MB / 0.7585 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002558/0.2492, allocations: 1.648 MB / 0.7601 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007569/0.2499, allocations: 394.1 kB / 0.7605 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3651/0.615, allocations: 0.731 MB / 0.7612 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008786/0.6159, allocations: 468.5 kB / 0.7617 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-05/0.616, allocations: 48.44 kB / 0.7617 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.6172, allocations: 0.5215 MB / 0.7622 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.6174, allocations: 144.7 kB / 0.7624 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.6177, allocations: 310.3 kB / 0.7626 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.619, allocations: 0.956 MB / 0.7636 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.619, allocations: 0 / 0.7636 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.619, allocations: 0 / 0.7636 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.619, allocations: 0.5938 kB / 0.7636 GB, free: 8.445 MB / 0.5762 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.001142/0.6202, allocations: 0.84 MB / 0.7644 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6202, allocations: 11.77 kB / 0.7644 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.109e-05/0.6203, allocations: 76.69 kB / 0.7645 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.6205, allocations: 75.03 kB / 0.7646 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009819/0.6215, allocations: 0.5054 MB / 0.7651 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.6215, allocations: 29.69 kB / 0.7651 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.6216, allocations: 42.44 kB / 0.7651 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007557/0.6223, allocations: 434.8 kB / 0.7655 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6224, allocations: 4.219 kB / 0.7655 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.22e-05/0.6224, allocations: 17.67 kB / 0.7656 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.6224, allocations: 13.34 kB / 0.7656 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.623, allocations: 306.6 kB / 0.7659 GB, free: 7.602 MB / 0.5762 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.002509/0.6255, allocations: 1.771 MB / 0.7676 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.626, allocations: 245.7 kB / 0.7678 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.6261, allocations: 115.9 kB / 0.7679 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.6266, allocations: 110.8 kB / 0.768 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.6266, allocations: 34.34 kB / 0.7681 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 2.625e-06/0.6266, allocations: 0.7031 kB / 0.7681 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0006529/0.6273, allocations: 382.5 kB / 0.7684 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.6273, allocations: 57 kB / 0.7685 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.6278, allocations: 481.7 kB / 0.769 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.6278, allocations: 31.36 kB / 0.769 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.628, allocations: 262.6 kB / 0.7692 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.6281, allocations: 96.22 kB / 0.7693 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.6282, allocations: 74.97 kB / 0.7694 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.6283, allocations: 356.8 kB / 0.7697 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.6284, allocations: 100.2 kB / 0.7698 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.6286, allocations: 172 kB / 0.77 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.629, allocations: 276.5 kB / 0.7703 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.629, allocations: 3.156 kB / 0.7703 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006185/0.6296, allocations: 367.9 kB / 0.7706 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6296, allocations: 6.875 kB / 0.7706 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.6296, allocations: 1.688 kB / 0.7706 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.6297, allocations: 7.969 kB / 0.7706 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.6299, allocations: 71.77 kB / 0.7707 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.6299, allocations: 7.766 kB / 0.7707 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.6302, allocations: 42.34 kB / 0.7707 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.6302, allocations: 15.77 kB / 0.7708 GB, free: 5.664 MB / 0.5762 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.0001881/0.6304, allocations: 180.2 kB / 0.7709 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.6305, allocations: 52.5 kB / 0.771 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/0.6313, allocations: 477.6 kB / 0.7714 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.6314, allocations: 14.02 kB / 0.7715 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6314, allocations: 0.6562 kB / 0.7715 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005299/0.6319, allocations: 0.5706 MB / 0.772 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.6337, allocations: 1.064 MB / 0.7731 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6337, allocations: 2.281 kB / 0.7731 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.634, allocations: 49.22 kB / 0.7731 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.634, allocations: 4.703 kB / 0.7731 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.634, allocations: 12.83 kB / 0.7731 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.634, allocations: 11.02 kB / 0.7731 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.634, allocations: 12.22 kB / 0.7731 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.6349, allocations: 0.6791 MB / 0.7738 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.6351, allocations: 103.8 kB / 0.7739 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.719e-05/0.6352, allocations: 8.641 kB / 0.7739 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.6354, allocations: 11.58 kB / 0.7739 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.6355, allocations: 26.98 kB / 0.7739 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.6355, allocations: 18.58 kB / 0.774 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004382/0.6359, allocations: 346.7 kB / 0.7743 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6359, allocations: 4.656 kB / 0.7743 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007219/0.6367, allocations: 198.7 kB / 0.7745 GB, free: 4.391 MB / 0.5762 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.001467/0.6381, allocations: 1.385 MB / 0.7758 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005751/0.6387, allocations: 290.7 kB / 0.7761 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6387, allocations: 4.438 kB / 0.7761 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.639, allocations: 154.6 kB / 0.7763 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6405, allocations: 344.6 kB / 0.7766 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.6462, allocations: 4.221 MB / 0.7807 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.6467, allocations: 0.8681 MB / 0.7816 GB, free: 17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005511/0.6473, allocations: 118.3 kB / 0.7817 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.6475, allocations: 191.1 kB / 0.7819 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/0.6475, allocations: 0 / 0.7819 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06135/0.7089, allocations: 17.38 MB / 0.7988 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.24, allocations: 13.53 kB / 0.7988 GB, free: 12.79 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.863380758000858] Failed to read output from testmodel.py, exit status != 0: 12.354465931999584 12.367463311 11.745576605 Calling exit ...