Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.169/1.169, allocations: 173.4 MB / 471.3 MB, free: 6.676 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 75.78 kB / 0.649 GB, free: 22.83 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 89.52 MB / 0.7364 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5963/0.7646, allocations: 148.3 MB / 0.8812 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001298/0.7647, allocations: 49.02 kB / 0.8812 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.7648, allocations: 0 / 0.8812 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.7649, allocations: 8.812 kB / 0.8812 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.765, allocations: 13.17 kB / 0.8812 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.7657, allocations: 211.7 kB / 0.8814 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.7658, allocations: 33.3 kB / 0.8815 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.7659, allocations: 3.125 kB / 0.8815 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.78e-05/0.7659, allocations: 15.23 kB / 0.8815 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.766, allocations: 17.2 kB / 0.8815 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.766, allocations: 1.812 kB / 0.8815 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.7664, allocations: 199.7 kB / 0.8817 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.7665, allocations: 10.59 kB / 0.8817 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.7665, allocations: 9.406 kB / 0.8817 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.7668, allocations: 116.2 kB / 0.8818 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7668, allocations: 0 / 0.8818 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7668, allocations: 0 / 0.8818 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7668, allocations: 1.312 kB / 0.8818 GB, free: 0.7891 MB / 0.67 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.0004596/0.7673, allocations: 348.4 kB / 0.8822 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.7673, allocations: 9.562 kB / 0.8822 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.7676, allocations: 26.66 kB / 0.8822 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.7678, allocations: 163.6 kB / 0.8824 GB, free: 16.23 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.7678, allocations: 31.17 kB / 0.8824 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.7679, allocations: 2.891 kB / 0.8824 GB, free: 16.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.768, allocations: 51 kB / 0.8824 GB, free: 16.17 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.768, allocations: 4.5 kB / 0.8824 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.768, allocations: 3.562 kB / 0.8824 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.7681, allocations: 3.359 kB / 0.8824 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.7681, allocations: 24.39 kB / 0.8825 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.7685, allocations: 259.8 kB / 0.8827 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 4.624e-05/0.7685, allocations: 24.67 kB / 0.8827 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.742e-05/0.7686, allocations: 7.391 kB / 0.8827 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.7687, allocations: 95.27 kB / 0.8828 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.7688, allocations: 40.83 kB / 0.8829 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7688, allocations: 0 / 0.8829 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.000231/0.769, allocations: 48.34 kB / 0.8829 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.7691, allocations: 54.78 kB / 0.883 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.7692, allocations: 110 kB / 0.8831 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.7692, allocations: 25.83 kB / 0.8831 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.7692, allocations: 91.67 kB / 0.8832 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.7693, allocations: 5.203 kB / 0.8832 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.7693, allocations: 17.16 kB / 0.8832 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7694, allocations: 314.2 kB / 0.8835 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.7695, allocations: 6.656 kB / 0.8835 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.7695, allocations: 23.2 kB / 0.8835 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.7695, allocations: 33.36 kB / 0.8836 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7695, allocations: 0 / 0.8836 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.498e-05/0.7696, allocations: 56.11 kB / 0.8836 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7696, allocations: 7.281 kB / 0.8836 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7697, allocations: 3.672 kB / 0.8836 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.7697, allocations: 0.875 kB / 0.8836 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.7697, allocations: 12.81 kB / 0.8837 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.7698, allocations: 3.484 kB / 0.8837 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.7698, allocations: 8.672 kB / 0.8837 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.7698, allocations: 2.156 kB / 0.8837 GB, free: 14.98 MB / 0.6856 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.609e-05/0.7699, allocations: 116.2 kB / 0.8838 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.7699, allocations: 5.594 kB / 0.8838 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.7699, allocations: 4.094 kB / 0.8838 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.7699, allocations: 0 / 0.8838 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.77, allocations: 3.344 kB / 0.8838 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.77, allocations: 10.19 kB / 0.8838 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.7703, allocations: 358.7 kB / 0.8841 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7703, allocations: 0.7812 kB / 0.8841 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.7703, allocations: 4.531 kB / 0.8841 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7703, allocations: 5.5 kB / 0.8842 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.7703, allocations: 1.203 kB / 0.8842 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7703, allocations: 1.25 kB / 0.8842 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7703, allocations: 4.125 kB / 0.8842 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.064e-05/0.7704, allocations: 73.03 kB / 0.8842 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.7705, allocations: 84.58 kB / 0.8843 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.7705, allocations: 3.938 kB / 0.8843 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.7706, allocations: 4.109 kB / 0.8843 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.7706, allocations: 3.344 kB / 0.8843 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.7706, allocations: 8.531 kB / 0.8843 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.7707, allocations: 79.88 kB / 0.8844 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.52e-07/0.7707, allocations: 0 / 0.8844 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001883/0.7709, allocations: 10.98 kB / 0.8844 GB, free: 14.21 MB / 0.6856 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.0001257/0.771, allocations: 103.9 kB / 0.8845 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.7711, allocations: 18.61 kB / 0.8845 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7711, allocations: 5.281 kB / 0.8845 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.7711, allocations: 5.406 kB / 0.8845 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.7713, allocations: 10.8 kB / 0.8846 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.7716, allocations: 140.1 kB / 0.8847 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.7719, allocations: 0.6755 MB / 0.8853 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.7719, allocations: 9.219 kB / 0.8854 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of SimCode: time 2.3e-07/0.772, allocations: 4 kB / 0.8854 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of Templates: time 0.002087/0.774, allocations: 0.6127 MB / 0.886 GB, free: 13.23 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.889971310971305] Failed to read output from testmodel.py, exit status != 0: 0.7804291557986289 0.791638521 0.022758804 Calling exit ...