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.001253/0.001253, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001431/0.001431, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.002537/0.002537, allocations: 282 kB / 313.5 MB, free: 2.805 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.223/1.223, allocations: 180.6 MB / 0.5377 GB, free: 13.07 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.002806/0.002806, allocations: 101.7 kB / 0.7404 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1715, allocations: 95.38 MB / 0.8335 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02846/0.2, allocations: 23.76 MB / 0.8567 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008692/0.2087, allocations: 5.117 MB / 0.8617 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.2097, allocations: 39.62 kB / 0.8617 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.2109, allocations: 286 kB / 0.862 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.2137, allocations: 0.8475 MB / 0.8628 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.216, allocations: 0.8059 MB / 0.8636 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.2186, allocations: 1.652 MB / 0.8652 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.2195, allocations: 406.1 kB / 0.8656 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.2214, allocations: 0.6327 MB / 0.8662 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000961/0.2224, allocations: 481.9 kB / 0.8667 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.2225, allocations: 44 kB / 0.8667 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.2239, allocations: 0.5303 MB / 0.8673 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.2242, allocations: 155.4 kB / 0.8674 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000527/0.2247, allocations: 302.5 kB / 0.8677 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.2267, allocations: 0.9459 MB / 0.8686 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.2267, allocations: 4 kB / 0.8686 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2267, allocations: 3.938 kB / 0.8686 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.864e-05/0.2267, allocations: 0 / 0.8686 GB, free: 4.414 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.001804/0.2285, allocations: 0.8276 MB / 0.8694 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2286, allocations: 13.34 kB / 0.8695 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.446e-05/0.2286, allocations: 17.19 kB / 0.8695 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.2287, allocations: 74.72 kB / 0.8695 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.229, allocations: 72.5 kB / 0.8696 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.2302, allocations: 0.5111 MB / 0.8701 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.2302, allocations: 29 kB / 0.8701 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.966e-05/0.2303, allocations: 47.88 kB / 0.8702 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007667/0.2311, allocations: 432.7 kB / 0.8706 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2311, allocations: 0 / 0.8706 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.2311, allocations: 16 kB / 0.8706 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.2312, allocations: 19.98 kB / 0.8706 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.2317, allocations: 303.7 kB / 0.8709 GB, free: 1.984 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.003025/0.2348, allocations: 1.776 MB / 0.8727 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.2353, allocations: 248.6 kB / 0.8729 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2355, allocations: 116.7 kB / 0.873 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005418/0.2361, allocations: 107.8 kB / 0.8731 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.2361, allocations: 42.56 kB / 0.8731 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 2.194e-06/0.2361, allocations: 0 / 0.8731 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.0008092/0.2369, allocations: 368.4 kB / 0.8735 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.237, allocations: 55.41 kB / 0.8736 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.2376, allocations: 486 kB / 0.874 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.2377, allocations: 33.64 kB / 0.874 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.2379, allocations: 264.5 kB / 0.8743 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.238, allocations: 99.11 kB / 0.8744 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2381, allocations: 73.97 kB / 0.8745 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2383, allocations: 354.8 kB / 0.8748 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.2385, allocations: 100.6 kB / 0.8749 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.2388, allocations: 168.7 kB / 0.8751 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.2393, allocations: 283.7 kB / 0.8753 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2393, allocations: 4 kB / 0.8753 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000687/0.2399, allocations: 361.1 kB / 0.8757 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.24, allocations: 11.98 kB / 0.8757 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.24, allocations: 0 / 0.8757 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.24, allocations: 11.88 kB / 0.8757 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.2403, allocations: 75.84 kB / 0.8758 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.2403, allocations: 4 kB / 0.8758 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.2406, allocations: 39.97 kB / 0.8758 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.2407, allocations: 20 kB / 0.8758 GB, free: 12.73 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.0002384/0.2409, allocations: 173.8 kB / 0.876 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.241, allocations: 55.67 kB / 0.8761 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008979/0.2419, allocations: 489.1 kB / 0.8765 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.2419, allocations: 4 kB / 0.8765 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2419, allocations: 0 / 0.8765 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006513/0.2426, allocations: 0.5768 MB / 0.8771 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.2446, allocations: 1.072 MB / 0.8781 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2446, allocations: 0 / 0.8781 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.2449, allocations: 51.91 kB / 0.8782 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.2449, allocations: 4 kB / 0.8782 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.2449, allocations: 8 kB / 0.8782 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.2449, allocations: 4 kB / 0.8782 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2449, allocations: 4.188 kB / 0.8782 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.246, allocations: 0.6884 MB / 0.8789 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.2462, allocations: 95.59 kB / 0.879 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.2463, allocations: 8 kB / 0.879 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.2466, allocations: 11.98 kB / 0.879 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.2467, allocations: 31.89 kB / 0.879 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.2467, allocations: 12 kB / 0.879 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004747/0.2472, allocations: 346.8 kB / 0.8794 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2472, allocations: 3.938 kB / 0.8794 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007171/0.2479, allocations: 203.6 kB / 0.8796 GB, free: 8.734 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.001747/0.2496, allocations: 1.385 MB / 0.8809 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005821/0.2502, allocations: 287.5 kB / 0.8812 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2502, allocations: 4.125 kB / 0.8812 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.2505, allocations: 155.8 kB / 0.8813 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.2522, allocations: 342.7 kB / 0.8817 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006668/0.2589, allocations: 4.237 MB / 0.8858 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.2595, allocations: 0.8665 MB / 0.8866 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004516/0.2599, allocations: 112.7 kB / 0.8868 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.2602, allocations: 191.4 kB / 0.8869 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of SimCode: time 9.82e-07/0.2602, allocations: 0 / 0.8869 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04882/0.309, allocations: 17.42 MB / 0.9039 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.01, allocations: 14.44 kB / 0.904 GB, free: 15.86 MB / 0.6544 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.191856799006928] Failed to read output from testmodel.py, exit status != 0: 12.184473964967765 12.212289387 11.979884099 Calling exit ...