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.001707/0.001707, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.0021/0.0021, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.458/1.458, allocations: 230.6 MB / 254.2 MB, free: 15.05 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.9528/0.9528, allocations: 150 MB / 460.2 MB, free: 5.238 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",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.001939/0.001939, allocations: 66.41 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1629, allocations: 89.13 MB / 0.7239 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02826/0.1912, allocations: 23.54 MB / 0.7469 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009428/0.2006, allocations: 5.111 MB / 0.7518 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.2016, allocations: 39.69 kB / 0.7519 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.2025, allocations: 282.1 kB / 0.7522 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.2047, allocations: 0.8279 MB / 0.753 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.2068, allocations: 0.774 MB / 0.7537 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.209, allocations: 1.608 MB / 0.7553 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006471/0.2096, allocations: 421.6 kB / 0.7557 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.2114, allocations: 0.7227 MB / 0.7564 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006577/0.2121, allocations: 470 kB / 0.7568 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.2121, allocations: 52 kB / 0.7569 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.2132, allocations: 0.5069 MB / 0.7574 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.2134, allocations: 147.4 kB / 0.7575 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.2137, allocations: 310.5 kB / 0.7578 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.2151, allocations: 0.9498 MB / 0.7588 GB, free: 120 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2151, allocations: 0 / 0.7588 GB, free: 120 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2151, allocations: 0 / 0.7588 GB, free: 120 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.2152, allocations: 0 / 0.7588 GB, free: 120 kB / 0.5606 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.001452/0.2166, allocations: 0.9068 MB / 0.7596 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2166, allocations: 12.03 kB / 0.7597 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.2167, allocations: 9.188 kB / 0.7597 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.832e-05/0.2167, allocations: 82.64 kB / 0.7597 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.217, allocations: 68.56 kB / 0.7598 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.218, allocations: 0.5837 MB / 0.7604 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/0.218, allocations: 32.94 kB / 0.7604 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.2181, allocations: 40 kB / 0.7604 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.2188, allocations: 428.7 kB / 0.7609 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2189, allocations: 4 kB / 0.7609 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.2189, allocations: 16 kB / 0.7609 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.2189, allocations: 12 kB / 0.7609 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.2194, allocations: 311.7 kB / 0.7612 GB, free: 13.51 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.002724/0.2222, allocations: 1.916 MB / 0.763 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005249/0.2227, allocations: 252.6 kB / 0.7633 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.2229, allocations: 116.7 kB / 0.7634 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009351/0.2238, allocations: 0.8466 MB / 0.7642 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2238, allocations: 42.5 kB / 0.7643 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.2238, allocations: 0 / 0.7643 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0007539/0.2246, allocations: 373.9 kB / 0.7646 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.2246, allocations: 59.34 kB / 0.7647 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.2253, allocations: 478.1 kB / 0.7651 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.2253, allocations: 29.7 kB / 0.7652 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.2255, allocations: 268.4 kB / 0.7654 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.2256, allocations: 99.17 kB / 0.7655 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.2257, allocations: 70.02 kB / 0.7656 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2259, allocations: 354.8 kB / 0.7659 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.2261, allocations: 100.6 kB / 0.766 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.2264, allocations: 172 kB / 0.7662 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.2268, allocations: 278.7 kB / 0.7664 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.2268, allocations: 12 kB / 0.7665 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006254/0.2274, allocations: 361.1 kB / 0.7668 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2274, allocations: 11.94 kB / 0.7668 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2274, allocations: 3.984 kB / 0.7668 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.2275, allocations: 4 kB / 0.7668 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.2277, allocations: 71.91 kB / 0.7669 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2278, allocations: 8.219 kB / 0.7669 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.228, allocations: 39.66 kB / 0.7669 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.2281, allocations: 16 kB / 0.767 GB, free: 7.16 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.0002151/0.2283, allocations: 177.7 kB / 0.7671 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2284, allocations: 59.61 kB / 0.7672 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008419/0.2292, allocations: 473.1 kB / 0.7676 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2292, allocations: 4 kB / 0.7676 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2292, allocations: 3.938 kB / 0.7676 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006435/0.2299, allocations: 0.5609 MB / 0.7682 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.2318, allocations: 1.156 MB / 0.7693 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2318, allocations: 3.938 kB / 0.7693 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.232, allocations: 55.91 kB / 0.7694 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.232, allocations: 4 kB / 0.7694 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.232, allocations: 12.19 kB / 0.7694 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.232, allocations: 4 kB / 0.7694 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.232, allocations: 3.984 kB / 0.7694 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009145/0.2329, allocations: 0.6724 MB / 0.7701 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.2331, allocations: 172.7 kB / 0.7702 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.2332, allocations: 8 kB / 0.7702 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.2335, allocations: 16 kB / 0.7702 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.2335, allocations: 27.84 kB / 0.7703 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.2336, allocations: 19.98 kB / 0.7703 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004417/0.234, allocations: 346.9 kB / 0.7706 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.234, allocations: 0 / 0.7706 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006649/0.2347, allocations: 203.5 kB / 0.7708 GB, free: 2.977 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.001726/0.2364, allocations: 1.381 MB / 0.7722 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005534/0.237, allocations: 291.7 kB / 0.7724 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.237, allocations: 3.938 kB / 0.7724 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.2372, allocations: 147.8 kB / 0.7726 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.2388, allocations: 337.9 kB / 0.7729 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/0.2448, allocations: 4.206 MB / 0.777 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.2454, allocations: 0.8666 MB / 0.7779 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004567/0.2459, allocations: 120.7 kB / 0.778 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.2462, allocations: 187.4 kB / 0.7782 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.2462, allocations: 0 / 0.7782 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05274/0.2989, allocations: 17.03 MB / 0.7948 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.245/9.544, allocations: 11.98 kB / 0.7948 GB, free: 10.46 MB / 0.6075 GB " [Timeout remaining time 650] (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: 13.37090179900406] Failed to read output from testmodel.py, exit status != 0: 9.678184192976914 9.701864568 9.482368333 Calling exit ...