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.001502/0.001502, allocations: 110.6 kB / 18.7 MB, free: 3.145 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.007341/0.007341, allocations: 181.8 kB / 21.95 MB, free: 5.074 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.47/1.47, allocations: 225.6 MB / 250.7 MB, free: 13.36 MB / 206.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.071/1.071, allocations: 175.8 MB / 481.6 MB, free: 7.816 MB / 382.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.001985/0.001985, allocations: 67.73 kB / 0.6701 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6149, allocations: 94.53 MB / 0.7624 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2025/0.8174, allocations: 148.3 MB / 0.9072 GB, free: 2.176 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001581/0.8176, allocations: 51.84 kB / 0.9073 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.8176, allocations: 0 / 0.9073 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.8177, allocations: 3.938 kB / 0.9073 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.8178, allocations: 11.98 kB / 0.9073 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.8183, allocations: 105.1 kB / 0.9074 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.8184, allocations: 35.91 kB / 0.9074 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.8185, allocations: 3.984 kB / 0.9074 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.8185, allocations: 15.88 kB / 0.9074 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.8186, allocations: 23.91 kB / 0.9074 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.8186, allocations: 0 / 0.9074 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.8189, allocations: 99.7 kB / 0.9075 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.819, allocations: 4 kB / 0.9075 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.819, allocations: 11.92 kB / 0.9076 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.8192, allocations: 71.7 kB / 0.9076 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8192, allocations: 0 / 0.9076 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8192, allocations: 0 / 0.9076 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.8192, allocations: 3.938 kB / 0.9076 GB, free: 1.746 MB / 0.6856 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.0004909/0.8197, allocations: 342.2 kB / 0.908 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8198, allocations: 8.031 kB / 0.908 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/0.82, allocations: 20.92 kB / 0.908 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.8201, allocations: 164.4 kB / 0.9081 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/0.8202, allocations: 33.58 kB / 0.9082 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.8202, allocations: 0 / 0.9082 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.8203, allocations: 49.67 kB / 0.9082 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.8203, allocations: 0 / 0.9082 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.8204, allocations: 0 / 0.9082 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.8204, allocations: 8 kB / 0.9082 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.355e-05/0.8204, allocations: 15.98 kB / 0.9082 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.8208, allocations: 260.9 kB / 0.9085 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.214e-05/0.8209, allocations: 22.52 kB / 0.9085 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.8209, allocations: 4.859 kB / 0.9085 GB, free: 0.6797 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.8209, allocations: 4 kB / 0.9085 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.8209, allocations: 34.56 kB / 0.9086 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8209, allocations: 4.062 kB / 0.9086 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001476/0.8211, allocations: 33.69 kB / 0.9086 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.8211, allocations: 59.28 kB / 0.9086 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.8212, allocations: 105.8 kB / 0.9087 GB, free: 416 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.8212, allocations: 25.7 kB / 0.9088 GB, free: 384 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.8213, allocations: 104.2 kB / 0.9089 GB, free: 276 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/0.8213, allocations: 0 / 0.9089 GB, free: 276 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.8214, allocations: 13.72 kB / 0.9089 GB, free: 256 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8215, allocations: 314.8 kB / 0.9092 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.8215, allocations: 7.984 kB / 0.9092 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.8216, allocations: 18.58 kB / 0.9092 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.766e-05/0.8216, allocations: 38.52 kB / 0.9092 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8216, allocations: 0 / 0.9092 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.369e-05/0.8217, allocations: 53.62 kB / 0.9093 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8217, allocations: 4 kB / 0.9093 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8217, allocations: 11.88 kB / 0.9093 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8217, allocations: 0 / 0.9093 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.8218, allocations: 7.984 kB / 0.9093 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8218, allocations: 12.03 kB / 0.9093 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.8218, allocations: 11.2 kB / 0.9093 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.8218, allocations: 4 kB / 0.9093 GB, free: 15.75 MB / 0.7012 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 7.733e-05/0.8219, allocations: 109.3 kB / 0.9094 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.8219, allocations: 4 kB / 0.9095 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.822, allocations: 7.203 kB / 0.9095 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.822, allocations: 0 / 0.9095 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.822, allocations: 3.938 kB / 0.9095 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.822, allocations: 0 / 0.9095 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.8223, allocations: 354.7 kB / 0.9098 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8223, allocations: 0 / 0.9098 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/0.8223, allocations: 4 kB / 0.9098 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8223, allocations: 3.938 kB / 0.9098 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.8223, allocations: 0 / 0.9098 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8223, allocations: 0 / 0.9098 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8223, allocations: 0 / 0.9098 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.72e-05/0.8224, allocations: 65.09 kB / 0.9099 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.8224, allocations: 85 kB / 0.91 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.8224, allocations: 4 kB / 0.91 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.8225, allocations: 4 kB / 0.91 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.8225, allocations: 0 / 0.91 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.8225, allocations: 3.984 kB / 0.91 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.8226, allocations: 79.28 kB / 0.91 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8226, allocations: 0 / 0.91 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001897/0.8228, allocations: 12.03 kB / 0.91 GB, free: 14.92 MB / 0.7012 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.000107/0.8229, allocations: 99.25 kB / 0.9101 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.192e-05/0.823, allocations: 11.98 kB / 0.9102 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.823, allocations: 0 / 0.9102 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.823, allocations: 7.938 kB / 0.9102 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.8232, allocations: 8.219 kB / 0.9102 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.8235, allocations: 152.4 kB / 0.9103 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.8238, allocations: 0.6768 MB / 0.911 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.8238, allocations: 7.438 kB / 0.911 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.8238, allocations: 3.938 kB / 0.911 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of Templates: time 0.002199/0.826, allocations: 0.5728 MB / 0.9115 GB, free: 13.33 MB / 0.7012 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: 8.879326241090894] Failed to read output from testmodel.py, exit status != 0: 0.8341222668532282 0.847393144 0.025256336 Calling exit ...