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.001277/0.001277, allocations: 118.6 kB / 17.16 MB, free: 5.914 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.001336/0.001336, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.39/1.39, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.00233/0.00233, allocations: 287.6 kB / 309.8 MB, free: 3.465 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.006/1.006, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.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.002767/0.002767, allocations: 99.84 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4736, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02467/0.4982, allocations: 23.53 MB / 0.8508 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008478/0.5067, allocations: 5.097 MB / 0.8557 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009636/0.5077, allocations: 40.78 kB / 0.8558 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008769/0.5086, allocations: 287 kB / 0.8561 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002242/0.5108, allocations: 0.8316 MB / 0.8569 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.5129, allocations: 0.7723 MB / 0.8576 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.5153, allocations: 1.616 MB / 0.8592 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007123/0.516, allocations: 415.6 kB / 0.8596 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.5177, allocations: 0.6317 MB / 0.8602 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.5184, allocations: 483.1 kB / 0.8607 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.5185, allocations: 46.66 kB / 0.8607 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.5197, allocations: 0.5098 MB / 0.8612 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.5199, allocations: 146.8 kB / 0.8614 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.5203, allocations: 309.6 kB / 0.8617 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.5219, allocations: 0.9552 MB / 0.8626 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.5219, allocations: 0.75 kB / 0.8626 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5219, allocations: 0 / 0.8626 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.5219, allocations: 0 / 0.8626 GB, free: 11.25 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.001488/0.5234, allocations: 0.9034 MB / 0.8635 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5234, allocations: 14.19 kB / 0.8635 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.513e-05/0.5235, allocations: 18.78 kB / 0.8635 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.901e-05/0.5236, allocations: 76 kB / 0.8636 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.5238, allocations: 71.67 kB / 0.8636 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.5248, allocations: 0.5831 MB / 0.8642 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.5248, allocations: 29.44 kB / 0.8642 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.5249, allocations: 45.03 kB / 0.8643 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.5256, allocations: 431.7 kB / 0.8647 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.5256, allocations: 1.312 kB / 0.8647 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.5257, allocations: 20.28 kB / 0.8647 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.5257, allocations: 9.312 kB / 0.8647 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.5262, allocations: 308.8 kB / 0.865 GB, free: 9.5 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.002706/0.5289, allocations: 1.912 MB / 0.8669 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.5294, allocations: 250.1 kB / 0.8671 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.5296, allocations: 112.4 kB / 0.8672 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008868/0.5305, allocations: 0.8445 MB / 0.8681 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.5305, allocations: 36.75 kB / 0.8681 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.5305, allocations: 0 / 0.8681 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.00075/0.5313, allocations: 375.5 kB / 0.8684 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.5313, allocations: 58.08 kB / 0.8685 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.5319, allocations: 484.1 kB / 0.869 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.5319, allocations: 31.17 kB / 0.869 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.5322, allocations: 267.6 kB / 0.8692 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.5323, allocations: 95.36 kB / 0.8693 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.5324, allocations: 75.5 kB / 0.8694 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5326, allocations: 361 kB / 0.8698 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.5327, allocations: 96.83 kB / 0.8698 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.533, allocations: 164.2 kB / 0.87 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.5334, allocations: 285.4 kB / 0.8703 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5334, allocations: 1.5 kB / 0.8703 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000585/0.534, allocations: 367.2 kB / 0.8706 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.534, allocations: 5.406 kB / 0.8706 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.534, allocations: 1.812 kB / 0.8706 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.534, allocations: 7.5 kB / 0.8706 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.5343, allocations: 72.69 kB / 0.8707 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5343, allocations: 2.594 kB / 0.8707 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.5346, allocations: 38.25 kB / 0.8708 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.5346, allocations: 20.09 kB / 0.8708 GB, free: 4.719 MB / 0.6075 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.5348, allocations: 178.3 kB / 0.8709 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5349, allocations: 56.19 kB / 0.871 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008124/0.5357, allocations: 489.6 kB / 0.8715 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.5357, allocations: 7.438 kB / 0.8715 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5357, allocations: 1.062 kB / 0.8715 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006112/0.5363, allocations: 0.5591 MB / 0.872 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.5381, allocations: 1.159 MB / 0.8731 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5381, allocations: 5.312 kB / 0.8732 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.5383, allocations: 51.78 kB / 0.8732 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5384, allocations: 2.75 kB / 0.8732 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.5384, allocations: 9.5 kB / 0.8732 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5384, allocations: 6.734 kB / 0.8732 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5384, allocations: 1.562 kB / 0.8732 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.5392, allocations: 0.6703 MB / 0.8739 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.5395, allocations: 181.9 kB / 0.8741 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.5395, allocations: 7.875 kB / 0.8741 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.5398, allocations: 8.906 kB / 0.8741 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.5398, allocations: 27.34 kB / 0.8741 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.5399, allocations: 15.55 kB / 0.8741 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004314/0.5403, allocations: 348.1 kB / 0.8744 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5403, allocations: 3.938 kB / 0.8744 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007288/0.541, allocations: 199 kB / 0.8746 GB, free: 1.918 MB / 0.6075 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.001602/0.5426, allocations: 1.376 MB / 0.876 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.5431, allocations: 287.5 kB / 0.8763 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5431, allocations: 5.562 kB / 0.8763 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.5433, allocations: 152.5 kB / 0.8764 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.5449, allocations: 335 kB / 0.8767 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00568/0.5506, allocations: 4.224 MB / 0.8808 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.5511, allocations: 0.8676 MB / 0.8817 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004555/0.5515, allocations: 116.4 kB / 0.8818 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.5518, allocations: 194.3 kB / 0.882 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.5518, allocations: 0 / 0.882 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/0.607, allocations: 17.06 MB / 0.8987 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.445, allocations: 16.62 kB / 0.8987 GB, free: 0.8203 MB / 0.6231 GB " [Timeout remaining time 650] (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: 13.209291378036141] Failed to read output from testmodel.py, exit status != 0: 9.577191325020976 9.592691484 9.067705124 Calling exit ...