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.001411/0.001411, allocations: 105 kB / 20.48 MB, free: 1.488 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.001537/0.001537, allocations: 215.5 kB / 23.79 MB, free: 4.703 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.431/1.431, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.937/0.937, allocations: 150 MB / 464 MB, free: 10.54 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="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.001936/0.001936, allocations: 69.02 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1847, allocations: 89.17 MB / 0.7291 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02735/0.2121, allocations: 23.78 MB / 0.7523 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008237/0.2203, allocations: 5.137 MB / 0.7574 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/0.2212, allocations: 35.69 kB / 0.7574 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008853/0.2221, allocations: 286 kB / 0.7577 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.2244, allocations: 0.8436 MB / 0.7585 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.2265, allocations: 0.7977 MB / 0.7593 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.2289, allocations: 1.655 MB / 0.7609 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006977/0.2296, allocations: 394.1 kB / 0.7613 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3625/0.5921, allocations: 0.7252 MB / 0.762 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007605/0.5929, allocations: 478.5 kB / 0.7624 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.899e-05/0.593, allocations: 45 kB / 0.7625 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.594, allocations: 0.5189 MB / 0.763 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.5942, allocations: 147 kB / 0.7631 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.5945, allocations: 310.8 kB / 0.7634 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.5958, allocations: 0.9534 MB / 0.7643 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.5958, allocations: 0 / 0.7643 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5958, allocations: 2.969 kB / 0.7644 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.5958, allocations: 0.5 kB / 0.7644 GB, free: 8.461 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.001168/0.597, allocations: 0.8329 MB / 0.7652 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.597, allocations: 10.88 kB / 0.7652 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.562e-05/0.5971, allocations: 13.8 kB / 0.7652 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.091e-05/0.5971, allocations: 75.47 kB / 0.7653 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.5973, allocations: 73.53 kB / 0.7653 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.5984, allocations: 0.5117 MB / 0.7658 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.5984, allocations: 31.62 kB / 0.7659 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.5985, allocations: 38.83 kB / 0.7659 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.5991, allocations: 439.9 kB / 0.7663 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5992, allocations: 1.672 kB / 0.7663 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.5992, allocations: 13.44 kB / 0.7663 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.5992, allocations: 11.78 kB / 0.7663 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.5997, allocations: 312.3 kB / 0.7666 GB, free: 7.613 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.002381/0.6021, allocations: 1.771 MB / 0.7684 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.6026, allocations: 244.8 kB / 0.7686 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.6027, allocations: 113.1 kB / 0.7687 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/0.6032, allocations: 101 kB / 0.7688 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.6032, allocations: 36.52 kB / 0.7688 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.6032, allocations: 1.438 kB / 0.7688 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=26): time 0.0006585/0.6039, allocations: 381.8 kB / 0.7692 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.6039, allocations: 56.84 kB / 0.7693 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004992/0.6044, allocations: 481.2 kB / 0.7697 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.6044, allocations: 33.3 kB / 0.7698 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.6046, allocations: 265.4 kB / 0.77 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.447e-05/0.6046, allocations: 96.41 kB / 0.7701 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6047, allocations: 75.06 kB / 0.7702 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/0.6048, allocations: 357.9 kB / 0.7705 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.605, allocations: 99.02 kB / 0.7706 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.6052, allocations: 173.5 kB / 0.7708 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.6055, allocations: 277.3 kB / 0.771 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6055, allocations: 0.5 kB / 0.771 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006244/0.6061, allocations: 370.6 kB / 0.7714 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6062, allocations: 6.203 kB / 0.7714 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6062, allocations: 2.812 kB / 0.7714 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.6062, allocations: 7.375 kB / 0.7714 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.6065, allocations: 76.05 kB / 0.7715 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6065, allocations: 11.2 kB / 0.7715 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.6067, allocations: 34.28 kB / 0.7715 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.6068, allocations: 18.08 kB / 0.7715 GB, free: 5.672 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.0001844/0.607, allocations: 181.1 kB / 0.7717 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.6071, allocations: 52.05 kB / 0.7718 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/0.6079, allocations: 485 kB / 0.7722 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.6079, allocations: 4.859 kB / 0.7722 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6079, allocations: 1.375 kB / 0.7722 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005271/0.6084, allocations: 0.5709 MB / 0.7728 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.6102, allocations: 1.07 MB / 0.7738 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6102, allocations: 1.406 kB / 0.7738 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.6105, allocations: 54.09 kB / 0.7739 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.6105, allocations: 3.344 kB / 0.7739 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.6105, allocations: 13.61 kB / 0.7739 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.6105, allocations: 3.312 kB / 0.7739 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6105, allocations: 2.766 kB / 0.7739 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.6114, allocations: 0.6828 MB / 0.7746 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.6116, allocations: 104.8 kB / 0.7747 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.6117, allocations: 7.562 kB / 0.7747 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.612, allocations: 14.98 kB / 0.7747 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.612, allocations: 36.03 kB / 0.7747 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.6121, allocations: 18.58 kB / 0.7747 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000438/0.6125, allocations: 343.9 kB / 0.7751 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6125, allocations: 0 / 0.7751 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007181/0.6132, allocations: 202.5 kB / 0.7753 GB, free: 4.402 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.001441/0.6147, allocations: 1.388 MB / 0.7766 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005759/0.6153, allocations: 293.8 kB / 0.7769 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6153, allocations: 1.406 kB / 0.7769 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.6155, allocations: 151.8 kB / 0.777 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.6171, allocations: 338 kB / 0.7774 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/0.6228, allocations: 4.219 MB / 0.7815 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.6233, allocations: 0.8669 MB / 0.7823 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.6239, allocations: 120.5 kB / 0.7825 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.6241, allocations: 193.1 kB / 0.7826 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of SimCode: time 1.423e-06/0.6241, allocations: 4 kB / 0.7826 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04871/0.6728, allocations: 17.4 MB / 0.7996 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.54, allocations: 6.766 kB / 0.7996 GB, free: 12.79 MB / 0.5919 GB " [Timeout remaining time 647] (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: 16.331890036002733] Failed to read output from testmodel.py, exit status != 0: 12.712209173012525 12.736910572 12.135710239 Calling exit ...