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.001885/0.001885, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002289/0.002289, allocations: 213.7 kB / 22.99 MB, free: 4.609 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9198/0.9198, allocations: 149.9 MB / 463 MB, free: 10.33 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.002009/0.002009, allocations: 71.89 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1862, allocations: 89.17 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02628/0.2124, allocations: 21.6 MB / 0.7493 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00791/0.2203, allocations: 4.738 MB / 0.7539 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.2211, allocations: 43.69 kB / 0.7539 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008473/0.222, allocations: 278 kB / 0.7542 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.2241, allocations: 0.828 MB / 0.755 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.2261, allocations: 0.7865 MB / 0.7558 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002167/0.2283, allocations: 1.633 MB / 0.7574 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.2289, allocations: 390.1 kB / 0.7577 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.2306, allocations: 0.7486 MB / 0.7585 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006292/0.2313, allocations: 442 kB / 0.7589 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.006e-05/0.2313, allocations: 48 kB / 0.7589 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009669/0.2323, allocations: 415.2 kB / 0.7593 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.2325, allocations: 143.4 kB / 0.7595 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.2327, allocations: 258.9 kB / 0.7597 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3734/0.6061, allocations: 0.9301 MB / 0.7606 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.6062, allocations: 0 / 0.7606 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6062, allocations: 2.109 kB / 0.7606 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.477e-05/0.6062, allocations: 0 / 0.7606 GB, free: 10.55 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.001402/0.6076, allocations: 0.8354 MB / 0.7614 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6076, allocations: 8.781 kB / 0.7615 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.281e-05/0.6077, allocations: 77.41 kB / 0.7615 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.6079, allocations: 74.31 kB / 0.7616 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/0.6088, allocations: 0.5085 MB / 0.7621 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.6089, allocations: 29.66 kB / 0.7621 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.6089, allocations: 42.97 kB / 0.7622 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.6095, allocations: 0.4987 MB / 0.7627 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.6096, allocations: 2.969 kB / 0.7627 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.6096, allocations: 21.83 kB / 0.7627 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.6096, allocations: 10.75 kB / 0.7627 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.6101, allocations: 302 kB / 0.763 GB, free: 9.621 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.00214/0.6122, allocations: 1.515 MB / 0.7645 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.6127, allocations: 245.5 kB / 0.7647 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.6128, allocations: 116.5 kB / 0.7648 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/0.6133, allocations: 103.8 kB / 0.7649 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6133, allocations: 37.03 kB / 0.7649 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.6133, allocations: 0.6562 kB / 0.7649 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0006345/0.614, allocations: 377.7 kB / 0.7653 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.614, allocations: 62.05 kB / 0.7654 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.6145, allocations: 480.2 kB / 0.7658 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.6145, allocations: 31.86 kB / 0.7658 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.6147, allocations: 266.8 kB / 0.7661 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.6147, allocations: 97.09 kB / 0.7662 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.6148, allocations: 75.94 kB / 0.7663 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.6149, allocations: 353.8 kB / 0.7666 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.6151, allocations: 99.33 kB / 0.7667 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.6153, allocations: 245 kB / 0.7669 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.6156, allocations: 282.8 kB / 0.7672 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6156, allocations: 4.938 kB / 0.7672 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004998/0.6161, allocations: 364.5 kB / 0.7675 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6162, allocations: 10.33 kB / 0.7676 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6162, allocations: 1.531 kB / 0.7676 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.6162, allocations: 8.812 kB / 0.7676 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.6164, allocations: 71.34 kB / 0.7676 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6164, allocations: 9.141 kB / 0.7676 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.6167, allocations: 39.12 kB / 0.7677 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.6167, allocations: 16.44 kB / 0.7677 GB, free: 7.789 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.0001651/0.6169, allocations: 177.4 kB / 0.7679 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.617, allocations: 52.7 kB / 0.7679 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007273/0.6177, allocations: 490.1 kB / 0.7684 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.6177, allocations: 12.14 kB / 0.7684 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6177, allocations: 0 / 0.7684 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004651/0.6182, allocations: 0.5702 MB / 0.769 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.6197, allocations: 1.014 MB / 0.7699 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6197, allocations: 0 / 0.7699 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.6199, allocations: 47.38 kB / 0.77 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6199, allocations: 5.469 kB / 0.77 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.62, allocations: 16.97 kB / 0.77 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.62, allocations: 6.188 kB / 0.77 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.62, allocations: 1.781 kB / 0.77 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.6208, allocations: 0.6855 MB / 0.7707 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.621, allocations: 99.08 kB / 0.7708 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.6211, allocations: 7.766 kB / 0.7708 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.6213, allocations: 16.02 kB / 0.7708 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.6214, allocations: 27.88 kB / 0.7708 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.6214, allocations: 18.16 kB / 0.7708 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004132/0.6218, allocations: 346 kB / 0.7712 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6218, allocations: 4 kB / 0.7712 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006269/0.6224, allocations: 203.8 kB / 0.7714 GB, free: 6.535 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.001336/0.6238, allocations: 1.391 MB / 0.7727 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005118/0.6243, allocations: 286.8 kB / 0.773 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6243, allocations: 4.938 kB / 0.773 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.6245, allocations: 154 kB / 0.7732 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.6261, allocations: 338.3 kB / 0.7735 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.6316, allocations: 4.231 MB / 0.7776 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.6319, allocations: 267.8 kB / 0.7779 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004672/0.6323, allocations: 118.9 kB / 0.778 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.6326, allocations: 189.8 kB / 0.7782 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.6326, allocations: 0 / 0.7782 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05874/0.6913, allocations: 18.79 MB / 0.7965 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/12.19, allocations: 3.797 kB / 0.7965 GB, free: 15.21 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.922204024158418] Failed to read output from testmodel.py, exit status != 0: 12.305353353731334 12.328836416 11.718328568 Calling exit ...