Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.0008778/0.0008778, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.001006/0.001006, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9397/0.9397, allocations: 177.1 MB / 203.5 MB, free: 5.543 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.788/1.788, 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.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.047e-05, allocations: 6.219 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6091/0.6091, allocations: 130.4 MB / 1.128 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001162/0.6092, allocations: 48.91 kB / 1.128 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.831e-05/0.6093, allocations: 1.062 kB / 1.128 GB, free: 3.246 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.6094, allocations: 9.422 kB / 1.128 GB, free: 3.238 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.6094, allocations: 12.98 kB / 1.128 GB, free: 3.234 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.6101, allocations: 216.6 kB / 1.128 GB, free: 3.141 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.6102, allocations: 34.2 kB / 1.128 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.931e-05/0.6102, allocations: 9.297 kB / 1.128 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.6102, allocations: 15.94 kB / 1.128 GB, free: 3.125 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.6103, allocations: 16.59 kB / 1.128 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.6103, allocations: 1.25 kB / 1.128 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.6106, allocations: 160.3 kB / 1.128 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.6106, allocations: 13.34 kB / 1.128 GB, free: 3.047 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.6107, allocations: 10.89 kB / 1.128 GB, free: 3.043 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.6108, allocations: 114.3 kB / 1.129 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6109, allocations: 1.531 kB / 1.129 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6109, allocations: 3.938 kB / 1.129 GB, free: 3.008 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.6109, allocations: 0 / 1.129 GB, free: 3.008 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002877/0.6111, allocations: 266.9 kB / 1.129 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6112, allocations: 10.12 kB / 1.129 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.62e-05/0.6112, allocations: 36.52 kB / 1.129 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.6114, allocations: 23.41 kB / 1.129 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.171e-05/0.6115, allocations: 110.9 kB / 1.129 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.6116, allocations: 58.25 kB / 1.129 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.6116, allocations: 6.344 kB / 1.129 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.6117, allocations: 72.53 kB / 1.129 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.6117, allocations: 0.7031 kB / 1.129 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.6117, allocations: 1.125 kB / 1.129 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.6117, allocations: 1.875 kB / 1.129 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.6117, allocations: 21.7 kB / 1.129 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.612, allocations: 226 kB / 1.129 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.673e-05/0.612, allocations: 28.56 kB / 1.129 GB, free: 2.16 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.6121, allocations: 12.17 kB / 1.129 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-05/0.6121, allocations: 12.86 kB / 1.129 GB, free: 2.148 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.6122, allocations: 37.39 kB / 1.129 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.6122, allocations: 0 / 1.129 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.6123, allocations: 52.17 kB / 1.13 GB, free: 2.066 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.546e-05/0.6123, allocations: 52.94 kB / 1.13 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.6124, allocations: 106.8 kB / 1.13 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.6124, allocations: 30.41 kB / 1.13 GB, free: 1.863 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.6124, allocations: 88.5 kB / 1.13 GB, free: 1.777 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.6124, allocations: 5.703 kB / 1.13 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.6124, allocations: 21.67 kB / 1.13 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.504e-05/0.6125, allocations: 317.5 kB / 1.13 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.6125, allocations: 5.156 kB / 1.13 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.6125, allocations: 28.52 kB / 1.13 GB, free: 1.402 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.6125, allocations: 33.08 kB / 1.13 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6125, allocations: 9.094 kB / 1.13 GB, free: 1.363 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.626e-05/0.6126, allocations: 52.41 kB / 1.13 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6126, allocations: 8 kB / 1.13 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.6126, allocations: 1.891 kB / 1.13 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6126, allocations: 1.219 kB / 1.13 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.6127, allocations: 5.594 kB / 1.13 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6127, allocations: 5.188 kB / 1.13 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.6127, allocations: 2.375 kB / 1.13 GB, free: 1.324 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.6127, allocations: 1.406 kB / 1.13 GB, free: 1.324 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 3.694e-05/0.6127, allocations: 121.6 kB / 1.13 GB, free: 1.203 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.6127, allocations: 5.906 kB / 1.13 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.697e-05/0.6128, allocations: 5.156 kB / 1.13 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.6128, allocations: 1.094 kB / 1.13 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6128, allocations: 2.125 kB / 1.13 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6128, allocations: 5.922 kB / 1.13 GB, free: 1.195 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.6129, allocations: 337.9 kB / 1.131 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6129, allocations: 0 / 1.131 GB, free: 0.8281 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.6129, allocations: 8.125 kB / 1.131 GB, free: 0.8242 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6129, allocations: 5.094 kB / 1.131 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.6129, allocations: 1.984 kB / 1.131 GB, free: 0.8203 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6129, allocations: 3.938 kB / 1.131 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6129, allocations: 0.9688 kB / 1.131 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.253e-05/0.613, allocations: 68.31 kB / 1.131 GB, free: 0.7422 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.613, allocations: 5.906 kB / 1.131 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.613, allocations: 2.188 kB / 1.131 GB, free: 0.7383 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.613, allocations: 8.234 kB / 1.131 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.6131, allocations: 1.5 kB / 1.131 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.6131, allocations: 1.281 kB / 1.131 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.597e-05/0.6131, allocations: 89.31 kB / 1.131 GB, free: 0.6523 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.6131, allocations: 0 / 1.131 GB, free: 0.6523 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001296/0.6132, allocations: 5.938 kB / 1.131 GB, free: 0.6523 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001621/0.6134, allocations: 0.6029 MB / 1.132 GB, free: 52 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.522e-05/0.6134, allocations: 20.61 kB / 1.132 GB, free: 44 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6134, allocations: 0 / 1.132 GB, free: 44 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.6134, allocations: 11.52 kB / 1.132 GB, free: 40 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.6136, allocations: 11.48 kB / 1.132 GB, free: 36 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.6139, allocations: 148.8 kB / 1.132 GB, free: 15.88 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.029e-05/0.614, allocations: 59.92 kB / 1.132 GB, free: 15.81 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.614, allocations: 11.12 kB / 1.132 GB, free: 15.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.6141, allocations: 18.33 kB / 1.132 GB, free: 15.8 MB / 1.01 GB Notification: Performance of SimCode: time 5.51e-07/0.6141, allocations: 0 / 1.132 GB, free: 15.8 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0799/0.694, allocations: 2.123 MB / 1.134 GB, free: 14.92 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.689, allocations: 3.594 kB / 1.134 GB, free: 14.92 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_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_AirTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.284353326074779]