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.001263/0.001263, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001523/0.001523, allocations: 215.4 kB / 22.99 MB, free: 4.977 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9324/0.9324, allocations: 149.9 MB / 463 MB, free: 10.36 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.002035/0.002035, allocations: 67.03 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1842, allocations: 89.18 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02677/0.2109, allocations: 21.6 MB / 0.7493 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009062/0.22, allocations: 4.738 MB / 0.7539 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009373/0.2209, allocations: 39.69 kB / 0.7539 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009073/0.2218, allocations: 286 kB / 0.7542 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002336/0.2242, allocations: 0.8241 MB / 0.755 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.2262, allocations: 0.7855 MB / 0.7558 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002256/0.2285, allocations: 1.633 MB / 0.7574 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006368/0.2291, allocations: 390.1 kB / 0.7577 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.231, allocations: 0.7503 MB / 0.7585 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.2317, allocations: 446 kB / 0.7589 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.439e-05/0.2317, allocations: 48 kB / 0.759 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009867/0.2327, allocations: 411.2 kB / 0.7593 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2329, allocations: 143.5 kB / 0.7595 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.2332, allocations: 254.8 kB / 0.7597 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3823/0.6155, allocations: 0.9352 MB / 0.7606 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6155, allocations: 1.359 kB / 0.7606 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6155, allocations: 0 / 0.7606 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.6155, allocations: 0.5625 kB / 0.7606 GB, free: 10.53 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.001394/0.6169, allocations: 0.8302 MB / 0.7614 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.617, allocations: 11.61 kB / 0.7615 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.166e-05/0.617, allocations: 76.72 kB / 0.7615 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.6173, allocations: 72.27 kB / 0.7616 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009265/0.6182, allocations: 0.5119 MB / 0.7621 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.6182, allocations: 28.81 kB / 0.7621 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.6183, allocations: 43.28 kB / 0.7622 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.6189, allocations: 0.5029 MB / 0.7627 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6189, allocations: 4.109 kB / 0.7627 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.619, allocations: 17.75 kB / 0.7627 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.619, allocations: 13.22 kB / 0.7627 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.6194, allocations: 302.6 kB / 0.763 GB, free: 9.594 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.002264/0.6217, allocations: 1.511 MB / 0.7645 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.6222, allocations: 245.6 kB / 0.7647 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.6224, allocations: 110.1 kB / 0.7648 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.6229, allocations: 104.8 kB / 0.7649 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.6229, allocations: 37.33 kB / 0.7649 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 3.226e-06/0.6229, allocations: 1.266 kB / 0.7649 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0006934/0.6236, allocations: 385.9 kB / 0.7653 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.6236, allocations: 55.48 kB / 0.7654 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005388/0.6241, allocations: 482.8 kB / 0.7658 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.6242, allocations: 29.08 kB / 0.7658 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.6243, allocations: 269.3 kB / 0.7661 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.6244, allocations: 100.4 kB / 0.7662 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.6245, allocations: 73.88 kB / 0.7663 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.6246, allocations: 357.2 kB / 0.7666 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.6248, allocations: 96.17 kB / 0.7667 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.625, allocations: 244.7 kB / 0.7669 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.6254, allocations: 284.9 kB / 0.7672 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6254, allocations: 3.562 kB / 0.7672 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005388/0.6259, allocations: 363.4 kB / 0.7676 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6259, allocations: 8.484 kB / 0.7676 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6259, allocations: 0.75 kB / 0.7676 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.6259, allocations: 9.812 kB / 0.7676 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.6262, allocations: 73.7 kB / 0.7676 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.6262, allocations: 9.359 kB / 0.7677 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.6265, allocations: 38.83 kB / 0.7677 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.6265, allocations: 18.62 kB / 0.7677 GB, free: 7.762 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.0001664/0.6267, allocations: 178.8 kB / 0.7679 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.6268, allocations: 50.14 kB / 0.7679 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.6275, allocations: 490 kB / 0.7684 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.6275, allocations: 8.484 kB / 0.7684 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.6275, allocations: 0.5 kB / 0.7684 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004858/0.628, allocations: 0.5763 MB / 0.769 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.6297, allocations: 1.005 MB / 0.7699 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6298, allocations: 3.062 kB / 0.7699 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.63, allocations: 50.28 kB / 0.77 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.63, allocations: 4.219 kB / 0.77 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.63, allocations: 11.42 kB / 0.77 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.63, allocations: 6.016 kB / 0.77 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.63, allocations: 5.562 kB / 0.77 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000993/0.631, allocations: 0.6829 MB / 0.7707 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.6312, allocations: 102.8 kB / 0.7708 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.6313, allocations: 7.391 kB / 0.7708 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.6316, allocations: 11.56 kB / 0.7708 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.6316, allocations: 31.61 kB / 0.7708 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.6317, allocations: 16.11 kB / 0.7709 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004358/0.6321, allocations: 346.1 kB / 0.7712 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6321, allocations: 0 / 0.7712 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007193/0.6328, allocations: 208.4 kB / 0.7714 GB, free: 6.504 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.001471/0.6343, allocations: 1.389 MB / 0.7727 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.6348, allocations: 285.8 kB / 0.773 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6348, allocations: 0.7812 kB / 0.773 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.6351, allocations: 158.8 kB / 0.7732 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.6368, allocations: 341.1 kB / 0.7735 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.6425, allocations: 4.224 MB / 0.7776 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6428, allocations: 267.7 kB / 0.7779 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005058/0.6433, allocations: 123.3 kB / 0.778 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.6436, allocations: 194 kB / 0.7782 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of SimCode: time 1.042e-06/0.6436, allocations: 0.5312 kB / 0.7782 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05584/0.6995, allocations: 18.79 MB / 0.7965 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.94, allocations: 4.531 kB / 0.7965 GB, free: 15.27 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.621747105382383] Failed to read output from testmodel.py, exit status != 0: 12.051282040774822 12.072040162 11.452468587 Calling exit ...