Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.00137/0.00137, allocations: 113.9 kB / 17.13 MB, free: 5.938 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.001403/0.001403, allocations: 197.2 kB / 20.08 MB, free: 3 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.531/1.531, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.164/1.164, allocations: 175.7 MB / 479.1 MB, free: 3.414 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.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 61.73 kB / 0.6663 GB, free: 10.88 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1957, allocations: 94.55 MB / 0.7586 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003002/0.1987, allocations: 1.272 MB / 0.7599 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.6421/0.8408, allocations: 147.4 MB / 0.9039 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.831e-05/0.8409, allocations: 1.125 kB / 0.9039 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.8409, allocations: 10.52 kB / 0.9039 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.841, allocations: 1.219 kB / 0.9039 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.8414, allocations: 92.91 kB / 0.904 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.567e-05/0.8415, allocations: 35.81 kB / 0.904 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.8415, allocations: 7.062 kB / 0.904 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.8416, allocations: 15.59 kB / 0.904 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.8416, allocations: 14.94 kB / 0.904 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.8416, allocations: 1.344 kB / 0.904 GB, free: 8.105 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.8419, allocations: 86.98 kB / 0.9041 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.8419, allocations: 5.375 kB / 0.9041 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.842, allocations: 19.31 kB / 0.9041 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.8421, allocations: 63.75 kB / 0.9042 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8421, allocations: 1.188 kB / 0.9042 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8421, allocations: 0 / 0.9042 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.8421, allocations: 0 / 0.9042 GB, free: 8.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004773/0.8426, allocations: 355 kB / 0.9045 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8427, allocations: 9.719 kB / 0.9045 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.8429, allocations: 17.17 kB / 0.9046 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.843, allocations: 167.7 kB / 0.9047 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.843, allocations: 5.969 kB / 0.9047 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.843, allocations: 9.312 kB / 0.9047 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.8432, allocations: 51.12 kB / 0.9048 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.8432, allocations: 0 / 0.9048 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.8432, allocations: 4.906 kB / 0.9048 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.8432, allocations: 0.9375 kB / 0.9048 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.226e-05/0.8432, allocations: 13.02 kB / 0.9048 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.8435, allocations: 172 kB / 0.905 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.8436, allocations: 53.86 kB / 0.905 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.8436, allocations: 15.61 kB / 0.905 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.8436, allocations: 1.031 kB / 0.905 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.8436, allocations: 35.44 kB / 0.9051 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.8436, allocations: 0 / 0.9051 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0008032/0.8444, allocations: 371.9 kB / 0.9054 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.8445, allocations: 56.12 kB / 0.9055 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.8446, allocations: 98.27 kB / 0.9056 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.8446, allocations: 27.05 kB / 0.9056 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.8446, allocations: 83.52 kB / 0.9057 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.8447, allocations: 43.33 kB / 0.9057 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.8447, allocations: 33.39 kB / 0.9058 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.8449, allocations: 320 kB / 0.9061 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.8449, allocations: 20.88 kB / 0.9061 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.845, allocations: 37.84 kB / 0.9061 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.8451, allocations: 57.69 kB / 0.9062 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.8451, allocations: 0 / 0.9062 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001391/0.8452, allocations: 99.97 kB / 0.9063 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.8452, allocations: 8.812 kB / 0.9063 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8452, allocations: 1.094 kB / 0.9063 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.8452, allocations: 4.969 kB / 0.9063 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.8454, allocations: 26.98 kB / 0.9063 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.8454, allocations: 0.5469 kB / 0.9063 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.198e-05/0.8454, allocations: 4.906 kB / 0.9063 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.8454, allocations: 3.25 kB / 0.9063 GB, free: 6.199 MB / 0.6544 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 (14): * Single equations (assignments): 14 * 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 9.046e-05/0.8455, allocations: 116.8 kB / 0.9064 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.8455, allocations: 11.02 kB / 0.9064 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.8455, allocations: 10.78 kB / 0.9064 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8455, allocations: 6.25 kB / 0.9065 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8456, allocations: 0 / 0.9065 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.8456, allocations: 2.25 kB / 0.9065 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.8457, allocations: 173.6 kB / 0.9066 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.8457, allocations: 0 / 0.9066 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.8458, allocations: 27.88 kB / 0.9066 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8458, allocations: 1.531 kB / 0.9066 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.8458, allocations: 0 / 0.9066 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.8458, allocations: 1.406 kB / 0.9066 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8458, allocations: 6.391 kB / 0.9067 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.846, allocations: 130 kB / 0.9068 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.8461, allocations: 86.91 kB / 0.9069 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.8461, allocations: 8.469 kB / 0.9069 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.8462, allocations: 3.094 kB / 0.9069 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.8462, allocations: 7.891 kB / 0.9069 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.8462, allocations: 6.281 kB / 0.9069 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.8463, allocations: 79.28 kB / 0.907 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.8463, allocations: 1 kB / 0.907 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001917/0.8465, allocations: 15.88 kB / 0.907 GB, free: 5.613 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001176/0.8466, allocations: 104.8 kB / 0.9071 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.8467, allocations: 51.11 kB / 0.9071 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8467, allocations: 0 / 0.9071 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.8467, allocations: 30.12 kB / 0.9072 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.847, allocations: 13.78 kB / 0.9072 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.8476, allocations: 350.1 kB / 0.9075 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.8479, allocations: 0.6885 MB / 0.9082 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.8479, allocations: 13.62 kB / 0.9082 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.8479, allocations: 3.938 kB / 0.9082 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of Templates: time 0.002547/0.8504, allocations: 0.8423 MB / 0.909 GB, free: 4.453 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.332110419869423] Failed to read output from testmodel.py, exit status != 0: 0.8582723569124937 0.870185971 0.025462212 Calling exit ...