Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.0009454/0.0009454, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001466/0.001466, allocations: 223.6 kB / 23.03 MB, free: 2.969 MB / 13.93 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.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.075/2.075, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 71.89 kB / 1.177 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9338/0.9348, allocations: 180 MB / 1.352 GB, free: 1.738 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003793/0.9386, allocations: 3.902 MB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.00011/0.9387, allocations: 139.6 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.9388, allocations: 4 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.9389, allocations: 3.938 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.937e-05/0.9389, allocations: 11.91 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.9392, allocations: 89.5 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.9393, allocations: 35.8 kB / 1.357 GB, free: 13.54 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.9393, allocations: 3.984 kB / 1.357 GB, free: 13.53 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.9394, allocations: 15.98 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.001e-05/0.9394, allocations: 7.984 kB / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.9394, allocations: 7.938 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.9396, allocations: 51.81 kB / 1.357 GB, free: 13.45 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.9396, allocations: 15.92 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.9397, allocations: 4 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.9398, allocations: 69.83 kB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.9398, allocations: 8 kB / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9398, allocations: 0 / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.9398, allocations: 0 / 1.357 GB, free: 13.36 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003011/0.9401, allocations: 258.3 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.9401, allocations: 8.922 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.535e-05/0.9402, allocations: 38.75 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.9402, allocations: 0.9375 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.9403, allocations: 110.5 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.9404, allocations: 51.97 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.9404, allocations: 4.125 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.9405, allocations: 79.38 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.9405, allocations: 0 / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.9405, allocations: 0 / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.9405, allocations: 3.938 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.9406, allocations: 11.98 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.9409, allocations: 224 kB / 1.357 GB, free: 12.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.371e-05/0.9409, allocations: 22.58 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.9409, allocations: 4.859 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.941, allocations: 12.05 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.941, allocations: 34.56 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.941, allocations: 3.938 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.9411, allocations: 37.69 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.9411, allocations: 51.41 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.9412, allocations: 105.8 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.9412, allocations: 25.7 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.9412, allocations: 88.09 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-06/0.9412, allocations: 3.953 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.9413, allocations: 17.7 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.9413, allocations: 318.8 kB / 1.358 GB, free: 11.67 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.9413, allocations: 8.125 kB / 1.358 GB, free: 11.66 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.9414, allocations: 13.72 kB / 1.358 GB, free: 11.64 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.978e-05/0.9414, allocations: 29.64 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.9414, allocations: 3.938 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.469e-05/0.9414, allocations: 45.64 kB / 1.358 GB, free: 11.55 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.9415, allocations: 11.98 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9415, allocations: 7.984 kB / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.9415, allocations: 0 / 1.358 GB, free: 11.53 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-05/0.9415, allocations: 12 kB / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.9415, allocations: 0 / 1.358 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.9415, allocations: 7.938 kB / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.9415, allocations: 0 / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.02e-05/0.9416, allocations: 114.3 kB / 1.358 GB, free: 11.39 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.9416, allocations: 3.953 kB / 1.358 GB, free: 11.39 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.408e-05/0.9417, allocations: 124.9 kB / 1.359 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/0.9417, allocations: 176.3 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.781e-05/0.9418, allocations: 180.3 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/0.9418, allocations: 188.2 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.9419, allocations: 380.2 kB / 1.359 GB, free: 10.28 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/0.9419, allocations: 104.9 kB / 1.359 GB, free: 10.17 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.942, allocations: 109 kB / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-05/0.942, allocations: 176.3 kB / 1.36 GB, free: 9.875 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.942, allocations: 180.2 kB / 1.36 GB, free: 9.691 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.92e-05/0.9421, allocations: 184.3 kB / 1.36 GB, free: 9.504 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.93e-05/0.9421, allocations: 184.2 kB / 1.36 GB, free: 9.316 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.436e-05/0.9422, allocations: 307.7 kB / 1.361 GB, free: 8.992 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.9422, allocations: 109 kB / 1.361 GB, free: 8.879 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.9423, allocations: 176.3 kB / 1.361 GB, free: 8.699 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.394e-05/0.9424, allocations: 116.9 kB / 1.361 GB, free: 8.578 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.9424, allocations: 176.3 kB / 1.361 GB, free: 8.398 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.9424, allocations: 108.9 kB / 1.361 GB, free: 8.285 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.14e-05/0.9425, allocations: 87.27 kB / 1.361 GB, free: 8.199 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.9425, allocations: 0 / 1.361 GB, free: 8.199 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001609/0.9426, allocations: 19.88 kB / 1.361 GB, free: 8.18 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002891/0.9429, allocations: 0.8165 MB / 1.362 GB, free: 7.332 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 6.332e-05/0.943, allocations: 15.92 kB / 1.362 GB, free: 7.316 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.943, allocations: 0 / 1.362 GB, free: 7.316 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.943, allocations: 8.062 kB / 1.362 GB, free: 7.309 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.9433, allocations: 459.9 kB / 1.363 GB, free: 6.855 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.944, allocations: 1.329 MB / 1.364 GB, free: 5.438 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.873e-05/0.9441, allocations: 59.34 kB / 1.364 GB, free: 5.359 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.9441, allocations: 7.938 kB / 1.364 GB, free: 5.352 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.9441, allocations: 19.42 kB / 1.364 GB, free: 5.332 MB / 1.042 GB Notification: Performance of SimCode: time 7.51e-07/0.9441, allocations: 0 / 1.364 GB, free: 5.332 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07823/1.022, allocations: 2.03 MB / 1.366 GB, free: 3.445 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/8.353, allocations: 3.266 kB / 1.366 GB, free: 3.445 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.632815212011337]