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.001266/0.001266, allocations: 80.55 kB / 19.96 MB, free: 4.605 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.001482/0.001482, allocations: 173.2 kB / 23.24 MB, free: 1.328 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 1.015/1.015, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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 1.877/1.877, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.773e-06/1.773e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.374e-05, allocations: 5.797 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005735/0.005759, allocations: 3.906 MB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001901/0.005949, allocations: 139.4 kB / 1.005 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.005981, allocations: 0 / 1.005 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.006103, allocations: 11.92 kB / 1.005 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.006185, allocations: 7.984 kB / 1.005 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.006573, allocations: 87.61 kB / 1.005 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.727e-05/0.00667, allocations: 39.84 kB / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.006714, allocations: 0 / 1.005 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.075e-05/0.006775, allocations: 15.98 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.006856, allocations: 19.91 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.006871, allocations: 4 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.007073, allocations: 55.75 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.007125, allocations: 7.984 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.007151, allocations: 8 kB / 1.005 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.007306, allocations: 59.86 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007308, allocations: 0 / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.573e-06/0.00731, allocations: 0 / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.728e-06/0.007314, allocations: 0 / 1.005 GB, free: 9.176 MB / 0.9636 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.0003825/0.007697, allocations: 270.2 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.007745, allocations: 9.344 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.007791, allocations: 30.75 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.007829, allocations: 8.938 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.007931, allocations: 109.7 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/0.008013, allocations: 55.97 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.008022, allocations: 4.375 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.008165, allocations: 67.89 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.008176, allocations: 3.938 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.008187, allocations: 0 / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.008208, allocations: 4 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.589e-05/0.008254, allocations: 15.98 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.008673, allocations: 224 kB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.819e-05/0.008721, allocations: 26.52 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.008741, allocations: 8.844 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/0.008796, allocations: 4.062 kB / 1.006 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.008825, allocations: 34.56 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.008826, allocations: 0 / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001581/0.008984, allocations: 33.7 kB / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.009015, allocations: 55.39 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.009093, allocations: 105.8 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.009108, allocations: 25.7 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.009153, allocations: 96.16 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.00916, allocations: 7.922 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.009194, allocations: 17.72 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.009288, allocations: 310.8 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.395e-05/0.009302, allocations: 4 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.009327, allocations: 17.7 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.009367, allocations: 21.66 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009369, allocations: 0 / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.563e-05/0.009445, allocations: 57.62 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.009459, allocations: 4 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.009464, allocations: 0 / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.009478, allocations: 0 / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.00952, allocations: 8 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.009526, allocations: 7.922 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/0.009545, allocations: 3.953 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.009556, allocations: 4 kB / 1.006 GB, free: 7.332 MB / 0.9636 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 6.724e-05/0.009623, allocations: 120.4 kB / 1.007 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.009648, allocations: 4 kB / 1.007 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.009758, allocations: 121.2 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.777e-05/0.009815, allocations: 184.3 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-05/0.009871, allocations: 184.2 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/0.009926, allocations: 184.2 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.01013, allocations: 384.2 kB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-05/0.01016, allocations: 105 kB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.01019, allocations: 105 kB / 1.008 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-05/0.01025, allocations: 180.2 kB / 1.008 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.0103, allocations: 180.3 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.324e-05/0.01036, allocations: 180.2 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-05/0.01041, allocations: 184.2 kB / 1.008 GB, free: 5.133 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.01054, allocations: 311.7 kB / 1.009 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.01057, allocations: 101 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.01064, allocations: 188.2 kB / 1.009 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.01077, allocations: 105 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.01083, allocations: 176.3 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.01086, allocations: 108.9 kB / 1.009 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.01091, allocations: 91.27 kB / 1.01 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01091, allocations: 0 / 1.01 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002827/0.01119, allocations: 12 kB / 1.01 GB, free: 4.004 MB / 0.9636 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.0004029/0.01159, allocations: 0.8323 MB / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.472e-05/0.01166, allocations: 7.938 kB / 1.01 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01166, allocations: 4 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.01166, allocations: 0 / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.01211, allocations: 463.6 kB / 1.011 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.01325, allocations: 1.331 MB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.0133, allocations: 67.41 kB / 1.012 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.01334, allocations: 4 kB / 1.012 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.01337, allocations: 12.5 kB / 1.012 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of SimCode: time 4.21e-07/0.01337, allocations: 0 / 1.012 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07727/0.09064, allocations: 2.158 MB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.19, allocations: 4 kB / 1.014 GB, free: 15.13 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.869111457839608]