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.0008573/0.0008573, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008932/0.0008932, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.899/0.899, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.59/0.59, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.5542 GB, free: 1.656 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/2e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.652 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.01584/0.01586, allocations: 21.44 MB / 0.5751 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005361/0.02122, allocations: 4.74 MB / 0.5798 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.0217, allocations: 35.69 kB / 0.5798 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.0223, allocations: 285.9 kB / 0.5801 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.02362, allocations: 0.8468 MB / 0.5809 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.02474, allocations: 0.8094 MB / 0.5817 GB, free: 5.414 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001309/0.02604, allocations: 1.625 MB / 0.5833 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.02647, allocations: 381.4 kB / 0.5836 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.02771, allocations: 0.9203 MB / 0.5845 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.02814, allocations: 398.7 kB / 0.5849 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.02819, allocations: 52 kB / 0.585 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006636/0.02885, allocations: 411 kB / 0.5854 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.02899, allocations: 147.4 kB / 0.5855 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.02922, allocations: 219.4 kB / 0.5857 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.0305, allocations: 0.9542 MB / 0.5866 GB, free: 336 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.0305, allocations: 0 / 0.5866 GB, free: 336 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.0305, allocations: 0 / 0.5866 GB, free: 336 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.03052, allocations: 4 kB / 0.5866 GB, free: 332 kB / 0.4948 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.001335/0.03185, allocations: 0.8159 MB / 0.5874 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.0319, allocations: 8.625 kB / 0.5875 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.922e-05/0.03199, allocations: 82.72 kB / 0.5875 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.03229, allocations: 68.5 kB / 0.5876 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/0.03323, allocations: 0.5064 MB / 0.5881 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.03326, allocations: 33 kB / 0.5881 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.03333, allocations: 47.94 kB / 0.5882 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.03401, allocations: 0.5018 MB / 0.5887 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.03403, allocations: 0 / 0.5887 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.03406, allocations: 16 kB / 0.5887 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.03409, allocations: 8 kB / 0.5887 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.03457, allocations: 303.8 kB / 0.589 GB, free: 13.85 MB / 0.5105 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.002308/0.03688, allocations: 1.524 MB / 0.5905 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.03736, allocations: 248.9 kB / 0.5907 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.03752, allocations: 112.8 kB / 0.5908 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.03785, allocations: 107.9 kB / 0.5909 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.03788, allocations: 34.56 kB / 0.5909 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/0.03788, allocations: 0 / 0.5909 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.0006296/0.03851, allocations: 372.4 kB / 0.5913 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.03855, allocations: 59.34 kB / 0.5914 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.03904, allocations: 474 kB / 0.5918 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.03907, allocations: 33.7 kB / 0.5918 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.03926, allocations: 264.4 kB / 0.5921 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.03932, allocations: 103.1 kB / 0.5922 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.03943, allocations: 77.97 kB / 0.5923 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.03955, allocations: 350.8 kB / 0.5926 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.0397, allocations: 100.6 kB / 0.5927 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/0.04023, allocations: 245.2 kB / 0.5929 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.04062, allocations: 286.6 kB / 0.5932 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.04063, allocations: 0 / 0.5932 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005444/0.04117, allocations: 357.2 kB / 0.5935 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.04119, allocations: 8 kB / 0.5935 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.0412, allocations: 0 / 0.5935 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.04122, allocations: 7.938 kB / 0.5936 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.04145, allocations: 72.06 kB / 0.5936 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.04146, allocations: 8 kB / 0.5936 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.04167, allocations: 47.66 kB / 0.5937 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.0417, allocations: 12 kB / 0.5937 GB, free: 8.805 MB / 0.5105 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.0001977/0.0419, allocations: 177.8 kB / 0.5939 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/0.04199, allocations: 55.66 kB / 0.5939 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007576/0.04275, allocations: 488.9 kB / 0.5944 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.04276, allocations: 7.938 kB / 0.5944 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.04277, allocations: 4 kB / 0.5944 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005142/0.04328, allocations: 0.5738 MB / 0.5949 GB, free: 7.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.0445, allocations: 1.006 MB / 0.5959 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.04451, allocations: 4.188 kB / 0.5959 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.04463, allocations: 51.97 kB / 0.596 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.04463, allocations: 0 / 0.596 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.04465, allocations: 12 kB / 0.596 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.04465, allocations: 7.922 kB / 0.596 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.04466, allocations: 4 kB / 0.596 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006664/0.04532, allocations: 0.6807 MB / 0.5967 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.04544, allocations: 95.53 kB / 0.5968 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.04548, allocations: 11.98 kB / 0.5968 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.04562, allocations: 12 kB / 0.5968 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.04566, allocations: 35.83 kB / 0.5968 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.04568, allocations: 19.98 kB / 0.5968 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002613/0.04594, allocations: 342.9 kB / 0.5972 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04594, allocations: 0 / 0.5972 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004658/0.04641, allocations: 203.5 kB / 0.5974 GB, free: 4.859 MB / 0.5105 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.001074/0.04748, allocations: 1.385 MB / 0.5987 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.04784, allocations: 279.7 kB / 0.599 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.04784, allocations: 4 kB / 0.599 GB, free: 3.152 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.048, allocations: 155.7 kB / 0.5991 GB, free: 3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/0.04889, allocations: 327.1 kB / 0.5994 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.05347, allocations: 4.138 MB / 0.6035 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.05366, allocations: 266.4 kB / 0.6037 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003547/0.05401, allocations: 120.7 kB / 0.6039 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.05423, allocations: 192.4 kB / 0.604 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/0.05423, allocations: 0 / 0.604 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03173/0.08596, allocations: 18.66 MB / 0.6223 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.277/7.363, allocations: 3.5 kB / 0.6223 GB, free: 11.59 MB / 0.5417 GB " [Timeout remaining time 653] (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: 9.904238210059702] Failed to read output from testmodel.py, exit status != 0: 7.451676492579281 7.460761541 7.428431572 Calling exit ...