Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001218/0.001218, allocations: 80.52 kB / 19.95 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.001499/0.001499, 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.9126/0.9126, allocations: 177.2 MB / 203.6 MB, free: 5.727 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.856/1.856, 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_13_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.091e-05, allocations: 2.281 kB / 1.001 GB, free: 13.58 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004046/0.004067, allocations: 3.676 MB / 1.004 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.004213, allocations: 143.4 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.00424, allocations: 0 / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.00437, allocations: 7.938 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.058e-05/0.00446, allocations: 15.91 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.004812, allocations: 75.69 kB / 1.004 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.272e-05/0.004895, allocations: 43.84 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.004938, allocations: 3.984 kB / 1.004 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.005001, allocations: 23.92 kB / 1.005 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.005087, allocations: 7.984 kB / 1.005 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.005104, allocations: 7.938 kB / 1.005 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.005519, allocations: 175.4 kB / 1.005 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.005564, allocations: 11.98 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.005585, allocations: 7.984 kB / 1.005 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.005713, allocations: 63.8 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005715, allocations: 0 / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005716, allocations: 4 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.00572, allocations: 0 / 1.005 GB, free: 9.293 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.0003193/0.00604, allocations: 262.3 kB / 1.005 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.006079, allocations: 9.344 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.006114, allocations: 38.73 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.006146, allocations: 4.938 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.299e-05/0.006219, allocations: 105.7 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-05/0.00628, allocations: 51.97 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.006287, allocations: 4.375 kB / 1.005 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.006404, allocations: 67.95 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.006412, allocations: 7.938 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.006421, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.00644, allocations: 4 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.006476, allocations: 11.98 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.006834, allocations: 227.9 kB / 1.006 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.243e-05/0.006877, allocations: 22.55 kB / 1.006 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.006891, allocations: 8.922 kB / 1.006 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.233e-05/0.006944, allocations: 8 kB / 1.006 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.006968, allocations: 34.56 kB / 1.006 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.006969, allocations: 4 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.007098, allocations: 33.69 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.007136, allocations: 55.34 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.007213, allocations: 105.8 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.007226, allocations: 25.7 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/0.00727, allocations: 92.02 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.007276, allocations: 4 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.007304, allocations: 17.72 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.007387, allocations: 310.8 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.007399, allocations: 4 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-05/0.007424, allocations: 30.02 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/0.007453, allocations: 21.66 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.007457, allocations: 4 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.153e-05/0.007518, allocations: 53.56 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.007532, allocations: 4 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.007537, allocations: 96 / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.00755, allocations: 3.984 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.61e-05/0.007596, allocations: 8 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.007602, allocations: 8.047 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.007617, allocations: 11.89 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.007628, allocations: 4 kB / 1.006 GB, free: 7.438 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.297e-05/0.007691, allocations: 117.7 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.007704, allocations: 0 / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.72e-05/0.007801, allocations: 113 kB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/0.007853, allocations: 188.2 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/0.007904, allocations: 180.2 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-05/0.007947, allocations: 176.3 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.008106, allocations: 388.2 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.008132, allocations: 105 kB / 1.008 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.008159, allocations: 101 kB / 1.008 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.064e-05/0.0082, allocations: 180.2 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.008245, allocations: 180.3 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-05/0.008288, allocations: 180.2 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.396e-05/0.008332, allocations: 184.2 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.008436, allocations: 307.7 kB / 1.009 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.008465, allocations: 101 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.008625, allocations: 188.2 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.008734, allocations: 109 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.008786, allocations: 188.2 kB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.00882, allocations: 101 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.008865, allocations: 83.27 kB / 1.009 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008865, allocations: 4 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001812/0.009046, allocations: 19.94 kB / 1.009 GB, free: 4.121 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.0003232/0.009369, allocations: 0.8284 MB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.132e-05/0.009431, allocations: 12 kB / 1.01 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009432, allocations: 0 / 1.01 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.009433, allocations: 128 / 1.01 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.009769, allocations: 475.7 kB / 1.011 GB, free: 2.785 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.01063, allocations: 1.325 MB / 1.012 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.556e-05/0.01068, allocations: 59.34 kB / 1.012 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.01071, allocations: 6.5 kB / 1.012 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.01074, allocations: 12.5 kB / 1.012 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of SimCode: time 8.01e-07/0.01074, allocations: 4 kB / 1.012 GB, free: 1.273 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08013/0.09087, allocations: 2.169 MB / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/7.444, allocations: 8.703 kB / 1.014 GB, free: 15.24 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_fmpy.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu) > Buildings_13_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.028123710304499]