Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001726/0.001726, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002163/0.002163, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002559/0.002559, allocations: 289.7 kB / 313.5 MB, free: 2.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.214/1.214, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002711/0.002711, allocations: 103.2 kB / 0.7403 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1521, allocations: 95.39 MB / 0.8334 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02332/0.1754, allocations: 21.56 MB / 0.8545 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007223/0.1826, allocations: 4.729 MB / 0.8591 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008765/0.1835, allocations: 35.69 kB / 0.8591 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008565/0.1843, allocations: 278.1 kB / 0.8594 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.1866, allocations: 0.8452 MB / 0.8602 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.1886, allocations: 0.778 MB / 0.861 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.1914, allocations: 1.656 MB / 0.8626 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007116/0.1921, allocations: 406.1 kB / 0.863 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.1937, allocations: 0.6356 MB / 0.8636 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.1944, allocations: 489.8 kB / 0.8641 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.538e-05/0.1945, allocations: 48 kB / 0.8641 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1955, allocations: 423.1 kB / 0.8645 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.1957, allocations: 147.4 kB / 0.8647 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.196, allocations: 250.9 kB / 0.8649 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.1976, allocations: 0.9303 MB / 0.8658 GB, free: 7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1976, allocations: 3.938 kB / 0.8658 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1976, allocations: 0 / 0.8658 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.1976, allocations: 0 / 0.8658 GB, free: 6.996 MB / 0.6075 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.001439/0.199, allocations: 0.8393 MB / 0.8666 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1991, allocations: 9.938 kB / 0.8666 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.861e-05/0.1991, allocations: 9.188 kB / 0.8666 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.635e-05/0.1992, allocations: 78.72 kB / 0.8667 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.1994, allocations: 68.52 kB / 0.8668 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.2004, allocations: 0.5189 MB / 0.8673 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.2005, allocations: 29 kB / 0.8673 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.2006, allocations: 39.95 kB / 0.8674 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007999/0.2014, allocations: 0.5018 MB / 0.8679 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.2014, allocations: 7.938 kB / 0.8679 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.2014, allocations: 16 kB / 0.8679 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/0.2014, allocations: 8 kB / 0.8679 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.202, allocations: 303.8 kB / 0.8682 GB, free: 4.473 MB / 0.6075 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.002565/0.2045, allocations: 1.525 MB / 0.8697 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.205, allocations: 246.7 kB / 0.8699 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.2052, allocations: 116.7 kB / 0.87 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/0.2057, allocations: 103.9 kB / 0.8701 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2057, allocations: 30.56 kB / 0.8701 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.2057, allocations: 0 / 0.8701 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007019/0.2064, allocations: 376.4 kB / 0.8705 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.2065, allocations: 55.39 kB / 0.8705 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.207, allocations: 486 kB / 0.871 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.2071, allocations: 33.7 kB / 0.871 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.2073, allocations: 264.5 kB / 0.8713 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.2074, allocations: 99.05 kB / 0.8714 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.2075, allocations: 77.97 kB / 0.8715 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.2076, allocations: 358.8 kB / 0.8718 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.2078, allocations: 92.61 kB / 0.8719 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.2081, allocations: 249.8 kB / 0.8721 GB, free: 252 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.2085, allocations: 283.8 kB / 0.8724 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2085, allocations: 0 / 0.8724 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005843/0.2091, allocations: 373 kB / 0.8728 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2091, allocations: 4 kB / 0.8728 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2091, allocations: 8.156 kB / 0.8728 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2091, allocations: 7.938 kB / 0.8728 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.2094, allocations: 67.91 kB / 0.8728 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2094, allocations: 4 kB / 0.8728 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.2097, allocations: 43.72 kB / 0.8729 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2097, allocations: 16 kB / 0.8729 GB, free: 15.42 MB / 0.6231 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.000205/0.2099, allocations: 177.8 kB / 0.8731 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.21, allocations: 51.72 kB / 0.8731 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008525/0.2109, allocations: 493 kB / 0.8736 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.2109, allocations: 8 kB / 0.8736 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2109, allocations: 0 / 0.8736 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005979/0.2115, allocations: 0.5769 MB / 0.8742 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.2132, allocations: 1.009 MB / 0.8752 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2132, allocations: 0 / 0.8752 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.2135, allocations: 51.91 kB / 0.8752 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.2135, allocations: 4 kB / 0.8752 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.2135, allocations: 11.98 kB / 0.8752 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.2135, allocations: 4.188 kB / 0.8752 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2135, allocations: 4 kB / 0.8752 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.2144, allocations: 0.6846 MB / 0.8759 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.2146, allocations: 95.58 kB / 0.876 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.2146, allocations: 8 kB / 0.876 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.2149, allocations: 8 kB / 0.876 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.2149, allocations: 31.89 kB / 0.876 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.215, allocations: 15.98 kB / 0.876 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004111/0.2154, allocations: 354.7 kB / 0.8764 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2154, allocations: 0 / 0.8764 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000622/0.216, allocations: 207.5 kB / 0.8766 GB, free: 11.47 MB / 0.6231 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.001521/0.2175, allocations: 1.385 MB / 0.8779 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.218, allocations: 291.2 kB / 0.8782 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.218, allocations: 0 / 0.8782 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.2182, allocations: 151.8 kB / 0.8784 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.2197, allocations: 346.6 kB / 0.8787 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.2253, allocations: 4.235 MB / 0.8828 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2256, allocations: 266.2 kB / 0.8831 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003947/0.226, allocations: 120.7 kB / 0.8832 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.2263, allocations: 191.3 kB / 0.8834 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of SimCode: time 7.12e-07/0.2263, allocations: 0 / 0.8834 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.2734, allocations: 18.46 MB / 0.9014 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.23, allocations: 4.562 kB / 0.9014 GB, free: 2.332 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.34339828498196] Failed to read output from testmodel.py, exit status != 0: 12.40017496899236 12.427101217 12.224691762 Calling exit ...