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.001304/0.001304, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001461/0.001461, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.801 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.00243/0.00243, allocations: 286.1 kB / 312.7 MB, free: 2.613 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.161/1.161, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter",fmuType="me",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.002808/0.002808, allocations: 102.2 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1759, allocations: 95.38 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02452/0.2004, allocations: 21.59 MB / 0.8537 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00789/0.2083, allocations: 4.733 MB / 0.8584 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009467/0.2093, allocations: 39.69 kB / 0.8584 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.2102, allocations: 286 kB / 0.8587 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.2123, allocations: 0.8358 MB / 0.8595 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.2142, allocations: 0.7667 MB / 0.8602 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002075/0.2162, allocations: 1.645 MB / 0.8618 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005966/0.2168, allocations: 402.1 kB / 0.8622 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.2183, allocations: 0.6385 MB / 0.8628 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006191/0.2189, allocations: 457.9 kB / 0.8633 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.213e-05/0.219, allocations: 48 kB / 0.8633 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009485/0.22, allocations: 419.1 kB / 0.8637 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.2201, allocations: 143.4 kB / 0.8639 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.2204, allocations: 266.7 kB / 0.8641 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2217, allocations: 0.9225 MB / 0.865 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2217, allocations: 4 kB / 0.865 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2217, allocations: 0 / 0.865 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.2217, allocations: 0 / 0.865 GB, free: 7.043 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.00132/0.223, allocations: 0.8277 MB / 0.8658 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2231, allocations: 9.938 kB / 0.8658 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.06e-05/0.2232, allocations: 78.7 kB / 0.8659 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.2234, allocations: 72.52 kB / 0.866 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2244, allocations: 0.5189 MB / 0.8665 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.2244, allocations: 32.98 kB / 0.8665 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.2245, allocations: 43.95 kB / 0.8666 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.2252, allocations: 0.5017 MB / 0.8671 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2252, allocations: 0 / 0.8671 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.2253, allocations: 16 kB / 0.8671 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.2253, allocations: 16 kB / 0.8671 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.2258, allocations: 307.8 kB / 0.8674 GB, free: 4.52 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.002534/0.2283, allocations: 1.521 MB / 0.8689 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/0.2289, allocations: 242.8 kB / 0.8691 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.229, allocations: 120.7 kB / 0.8692 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004611/0.2295, allocations: 99.89 kB / 0.8693 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2295, allocations: 42.56 kB / 0.8693 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.332e-06/0.2295, allocations: 0 / 0.8693 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.000681/0.2302, allocations: 368.4 kB / 0.8697 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.2303, allocations: 59.41 kB / 0.8698 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/0.2308, allocations: 478 kB / 0.8702 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.2309, allocations: 33.7 kB / 0.8702 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.2311, allocations: 264.3 kB / 0.8705 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.2312, allocations: 99.23 kB / 0.8706 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2313, allocations: 70.02 kB / 0.8707 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.2314, allocations: 358.8 kB / 0.871 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2316, allocations: 104.5 kB / 0.8711 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.2319, allocations: 253.8 kB / 0.8713 GB, free: 300 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.2323, allocations: 275.5 kB / 0.8716 GB, free: 0 / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2323, allocations: 0 / 0.8716 GB, free: 0 / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005754/0.2329, allocations: 369.1 kB / 0.872 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2329, allocations: 7.938 kB / 0.872 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2329, allocations: 4 kB / 0.872 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.2329, allocations: 7.938 kB / 0.872 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.2332, allocations: 75.83 kB / 0.872 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.2332, allocations: 11.92 kB / 0.8721 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.2334, allocations: 39.67 kB / 0.8721 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.2335, allocations: 15.98 kB / 0.8721 GB, free: 15.47 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.0001998/0.2337, allocations: 182 kB / 0.8723 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.45e-05/0.2338, allocations: 55.67 kB / 0.8723 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008033/0.2346, allocations: 473.1 kB / 0.8728 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.2346, allocations: 15.92 kB / 0.8728 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2346, allocations: 0 / 0.8728 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006147/0.2352, allocations: 0.5807 MB / 0.8734 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.2369, allocations: 1.002 MB / 0.8743 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2369, allocations: 4 kB / 0.8744 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.2372, allocations: 48.16 kB / 0.8744 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.2372, allocations: 4 kB / 0.8744 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.2372, allocations: 8 kB / 0.8744 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.2372, allocations: 7.938 kB / 0.8744 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2372, allocations: 4 kB / 0.8744 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.2381, allocations: 0.6885 MB / 0.8751 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.2383, allocations: 95.53 kB / 0.8752 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.2384, allocations: 11.98 kB / 0.8752 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.2386, allocations: 8 kB / 0.8752 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.2387, allocations: 31.89 kB / 0.8752 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.2387, allocations: 23.94 kB / 0.8753 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004125/0.2391, allocations: 346.8 kB / 0.8756 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2391, allocations: 0 / 0.8756 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006191/0.2397, allocations: 203.5 kB / 0.8758 GB, free: 11.52 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.001546/0.2413, allocations: 1.397 MB / 0.8771 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.2418, allocations: 279.2 kB / 0.8774 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2418, allocations: 0 / 0.8774 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.242, allocations: 159.7 kB / 0.8776 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.2435, allocations: 337.4 kB / 0.8779 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.249, allocations: 4.232 MB / 0.882 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.2493, allocations: 270.2 kB / 0.8823 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004043/0.2497, allocations: 108.7 kB / 0.8824 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.25, allocations: 191.4 kB / 0.8826 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/0.25, allocations: 0 / 0.8826 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06778/0.3177, allocations: 18.81 MB / 0.9009 GB, free: 2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.39, allocations: 7.984 kB / 0.9009 GB, free: 1.992 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: 15.330750139895827] Failed to read output from testmodel.py, exit status != 0: 11.50608204677701 11.521500258 11.296749647 Calling exit ...