Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001781/0.001781, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001918/0.001918, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.492/1.492, allocations: 225.6 MB / 248.5 MB, free: 3.586 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.073/1.073, allocations: 175.8 MB / 479.1 MB, free: 3.672 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.36 kB / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2001, allocations: 94.55 MB / 0.7587 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6994/0.8995, allocations: 148.3 MB / 0.9035 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001482/0.8997, allocations: 53.2 kB / 0.9035 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.8997, allocations: 3.938 kB / 0.9035 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.8998, allocations: 0 / 0.9035 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.717e-05/0.8999, allocations: 19.06 kB / 0.9035 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.9004, allocations: 107.4 kB / 0.9036 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.9005, allocations: 37.45 kB / 0.9037 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.9005, allocations: 5.172 kB / 0.9037 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.98e-05/0.9006, allocations: 15.22 kB / 0.9037 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.9006, allocations: 16.77 kB / 0.9037 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.9007, allocations: 4.984 kB / 0.9037 GB, free: 8.234 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.9009, allocations: 82.98 kB / 0.9038 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.901, allocations: 9.828 kB / 0.9038 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.901, allocations: 13.81 kB / 0.9038 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.9012, allocations: 75.05 kB / 0.9039 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9012, allocations: 0 / 0.9039 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9012, allocations: 4 kB / 0.9039 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.9012, allocations: 0 / 0.9039 GB, free: 8.203 MB / 0.6544 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.0004566/0.9017, allocations: 342.8 kB / 0.9042 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.9018, allocations: 10.03 kB / 0.9042 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.902, allocations: 16.8 kB / 0.9042 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.9021, allocations: 162.1 kB / 0.9044 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.9022, allocations: 30.95 kB / 0.9044 GB, free: 7.617 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.9022, allocations: 9.25 kB / 0.9044 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.9024, allocations: 45.77 kB / 0.9045 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.9024, allocations: 0.9375 kB / 0.9045 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.9024, allocations: 0 / 0.9045 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.9024, allocations: 8.844 kB / 0.9045 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.9025, allocations: 15.69 kB / 0.9045 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.9029, allocations: 269 kB / 0.9048 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.9029, allocations: 16.67 kB / 0.9048 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.9029, allocations: 5.953 kB / 0.9048 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.903, allocations: 0 / 0.9048 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.903, allocations: 37.38 kB / 0.9048 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.903, allocations: 0 / 0.9048 GB, free: 7.227 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.9031, allocations: 34.67 kB / 0.9048 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.9032, allocations: 59.19 kB / 0.9049 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.9033, allocations: 111.2 kB / 0.905 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.9033, allocations: 25.7 kB / 0.905 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.9034, allocations: 90.3 kB / 0.9051 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.825e-06/0.9034, allocations: 6.969 kB / 0.9051 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.9034, allocations: 13.22 kB / 0.9051 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.9035, allocations: 315.3 kB / 0.9054 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.9035, allocations: 8.578 kB / 0.9054 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.847e-05/0.9036, allocations: 29.59 kB / 0.9055 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.9036, allocations: 29.83 kB / 0.9055 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9036, allocations: 0 / 0.9055 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.9037, allocations: 57.73 kB / 0.9056 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.9038, allocations: 4.875 kB / 0.9056 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9038, allocations: 1.125 kB / 0.9056 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.9038, allocations: 1.219 kB / 0.9056 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.9038, allocations: 9.641 kB / 0.9056 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.9039, allocations: 9.062 kB / 0.9056 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.9039, allocations: 6.141 kB / 0.9056 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.9039, allocations: 1.156 kB / 0.9056 GB, free: 6.465 MB / 0.6544 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 0.0001063/0.904, allocations: 111.3 kB / 0.9057 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.904, allocations: 12.23 kB / 0.9057 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.9041, allocations: 7.062 kB / 0.9057 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.9041, allocations: 1.031 kB / 0.9057 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9041, allocations: 4.875 kB / 0.9057 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.9041, allocations: 1.062 kB / 0.9057 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.9044, allocations: 343.6 kB / 0.9061 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9044, allocations: 0 / 0.9061 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.9044, allocations: 6.625 kB / 0.9061 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.9044, allocations: 3.969 kB / 0.9061 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.9044, allocations: 4 kB / 0.9061 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9044, allocations: 1.719 kB / 0.9061 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9044, allocations: 0 / 0.9061 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.648e-05/0.9045, allocations: 56.59 kB / 0.9061 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.9045, allocations: 87.8 kB / 0.9062 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.9045, allocations: 9.5 kB / 0.9062 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.9046, allocations: 4.906 kB / 0.9062 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.9047, allocations: 4.031 kB / 0.9062 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.9047, allocations: 0 / 0.9062 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.146e-05/0.9047, allocations: 87.42 kB / 0.9063 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.9047, allocations: 0 / 0.9063 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001898/0.9049, allocations: 11.81 kB / 0.9063 GB, free: 5.699 MB / 0.6544 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 (1): * Single equations (assignments): 1 * 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.0001167/0.905, allocations: 93.62 kB / 0.9064 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.601e-05/0.9051, allocations: 15.34 kB / 0.9064 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9051, allocations: 4.188 kB / 0.9064 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.9051, allocations: 1.562 kB / 0.9064 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.9054, allocations: 12.03 kB / 0.9064 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.9057, allocations: 142.7 kB / 0.9066 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.906, allocations: 0.6754 MB / 0.9072 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.906, allocations: 8.938 kB / 0.9072 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.906, allocations: 1.594 kB / 0.9072 GB, free: 4.754 MB / 0.6544 GB Notification: Performance of Templates: time 0.002301/0.9083, allocations: 0.5675 MB / 0.9078 GB, free: 4.73 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.062961613060907] Failed to read output from testmodel.py, exit status != 0: 0.9161235671490431 0.929555651 0.025472933000000003 Calling exit ...