Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001353/0.001353, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.00146/0.00146, allocations: 215.8 kB / 23.01 MB, free: 4.609 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8483/0.8483, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003287/0.003287, allocations: 62.31 kB / 0.6197 GB, free: 6.801 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1835, allocations: 85.91 MB / 0.7036 GB, free: 0.957 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6096/0.793, allocations: 151.6 MB / 0.8517 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001497/0.7932, allocations: 58.47 kB / 0.8518 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.7932, allocations: 0 / 0.8518 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.7933, allocations: 3.938 kB / 0.8518 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.7934, allocations: 12.42 kB / 0.8518 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.7943, allocations: 231.8 kB / 0.852 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.057e-05/0.7944, allocations: 27.86 kB / 0.852 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.7944, allocations: 4 kB / 0.852 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.7944, allocations: 23.91 kB / 0.852 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.7945, allocations: 8 kB / 0.8521 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.7945, allocations: 0 / 0.8521 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.795, allocations: 215.3 kB / 0.8523 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.795, allocations: 15.92 kB / 0.8523 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.7951, allocations: 8 kB / 0.8523 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.7953, allocations: 114.4 kB / 0.8524 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7953, allocations: 6.062 kB / 0.8524 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7953, allocations: 0 / 0.8524 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7953, allocations: 3.938 kB / 0.8524 GB, free: 14.13 MB / 0.6231 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.0004235/0.7958, allocations: 266.3 kB / 0.8527 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.7958, allocations: 12.03 kB / 0.8527 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.7961, allocations: 20.91 kB / 0.8527 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.7962, allocations: 118.7 kB / 0.8528 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.7963, allocations: 60.41 kB / 0.8529 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.7963, allocations: 0 / 0.8529 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.7965, allocations: 53.67 kB / 0.8529 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7965, allocations: 0 / 0.8529 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.7965, allocations: 0 / 0.8529 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.7965, allocations: 0 / 0.8529 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.711e-05/0.7966, allocations: 27.92 kB / 0.8529 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.797, allocations: 228 kB / 0.8532 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/0.797, allocations: 22.61 kB / 0.8532 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.7971, allocations: 8.859 kB / 0.8532 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.7972, allocations: 16.05 kB / 0.8532 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.7972, allocations: 34.5 kB / 0.8532 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7972, allocations: 4 kB / 0.8532 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0002486/0.7975, allocations: 53.62 kB / 0.8533 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.7975, allocations: 51.41 kB / 0.8533 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.7976, allocations: 108 kB / 0.8534 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.7976, allocations: 29.7 kB / 0.8535 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.7977, allocations: 92.02 kB / 0.8536 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/0.7977, allocations: 7.953 kB / 0.8536 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/0.7977, allocations: 17.84 kB / 0.8536 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.7979, allocations: 310.8 kB / 0.8539 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.7979, allocations: 11.98 kB / 0.8539 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.798, allocations: 19.39 kB / 0.8539 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.309e-05/0.798, allocations: 38.52 kB / 0.8539 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.798, allocations: 0 / 0.8539 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.282e-05/0.7981, allocations: 53.62 kB / 0.854 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.7981, allocations: 5.875 kB / 0.854 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7981, allocations: 0 / 0.854 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7982, allocations: 4 kB / 0.854 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.7982, allocations: 7.984 kB / 0.854 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7982, allocations: 2.625 kB / 0.854 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.7983, allocations: 11.89 kB / 0.854 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.7983, allocations: 8.094 kB / 0.854 GB, free: 12.25 MB / 0.6231 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 8.36e-05/0.7983, allocations: 113.8 kB / 0.8541 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.7984, allocations: 0 / 0.8541 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.7984, allocations: 7.312 kB / 0.8541 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7984, allocations: 0 / 0.8541 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7984, allocations: 4 kB / 0.8542 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7984, allocations: 3.938 kB / 0.8542 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.7987, allocations: 334.6 kB / 0.8545 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7987, allocations: 0 / 0.8545 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.7988, allocations: 4 kB / 0.8545 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7988, allocations: 3.938 kB / 0.8545 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.7988, allocations: 0 / 0.8545 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.7988, allocations: 7.984 kB / 0.8545 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7988, allocations: 288 / 0.8545 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.182e-05/0.7989, allocations: 74.02 kB / 0.8546 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.7989, allocations: 11.92 kB / 0.8546 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.7989, allocations: 3.938 kB / 0.8546 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.627e-05/0.799, allocations: 7.984 kB / 0.8546 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.799, allocations: 3.938 kB / 0.8546 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.799, allocations: 3.625 kB / 0.8546 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.7991, allocations: 87.27 kB / 0.8547 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7991, allocations: 0 / 0.8547 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001968/0.7993, allocations: 12.03 kB / 0.8547 GB, free: 11.5 MB / 0.6231 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.0001264/0.7994, allocations: 95.25 kB / 0.8548 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.836e-05/0.7995, allocations: 19.94 kB / 0.8548 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7995, allocations: 0 / 0.8548 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.7995, allocations: 7.984 kB / 0.8548 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.7997, allocations: 4.312 kB / 0.8548 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.8, allocations: 146.5 kB / 0.8549 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.8005, allocations: 0.6768 MB / 0.8556 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.8005, allocations: 7.438 kB / 0.8556 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of SimCode: time 3.4e-07/0.8005, allocations: 7.938 kB / 0.8556 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.002256/0.8028, allocations: 0.6174 MB / 0.8562 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.580632533179596] Failed to read output from testmodel.py, exit status != 0: 0.8131308529991657 0.828941187 0.030115286 Calling exit ...