Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.0009342/0.0009342, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002366, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001033/0.001033, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.002096, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.05/1.05, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09871/1.149, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7345/0.7345, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2986/1.033, allocations: 49.03 MB / 447.8 MB, free: 6.578 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 449.1 MB, free: 5.297 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.41e-05, allocations: 4.984 kB / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001622/0.001636, allocations: 1.368 MB / 450.5 MB, free: 3.953 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1343/0.1359, allocations: 142.6 MB / 0.5792 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.1359, allocations: 4 kB / 0.5792 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.136, allocations: 3.938 kB / 0.5792 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.136, allocations: 0 / 0.5792 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1363, allocations: 99.42 kB / 0.5793 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.1364, allocations: 27.88 kB / 0.5793 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.1364, allocations: 7.969 kB / 0.5793 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.775e-05/0.1365, allocations: 23.92 kB / 0.5794 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.1365, allocations: 15.97 kB / 0.5794 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1366, allocations: 4 kB / 0.5794 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1368, allocations: 83.75 kB / 0.5795 GB, free: 5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.1368, allocations: 7.938 kB / 0.5795 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.1368, allocations: 8 kB / 0.5795 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.137, allocations: 63.78 kB / 0.5795 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.526e-05/0.137, allocations: 3.984 kB / 0.5795 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.362e-06/0.137, allocations: 0 / 0.5795 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.137, allocations: 0 / 0.5795 GB, free: 4.918 MB / 0.5573 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.0003775/0.1374, allocations: 270.5 kB / 0.5798 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1374, allocations: 12.02 kB / 0.5798 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.1376, allocations: 105.9 kB / 0.5799 GB, free: 4.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.286e-05/0.1377, allocations: 105.8 kB / 0.58 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1377, allocations: 384 / 0.58 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.1377, allocations: 20.3 kB / 0.58 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1378, allocations: 126.7 kB / 0.5802 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1379, allocations: 7.938 kB / 0.5802 GB, free: 4.195 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1379, allocations: 4 kB / 0.5802 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.1379, allocations: 0 / 0.5802 GB, free: 4.191 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.1379, allocations: 11.98 kB / 0.5802 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.43e-05/0.138, allocations: 65.05 kB / 0.5802 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.384e-05/0.1381, allocations: 42.62 kB / 0.5803 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.1381, allocations: 12.86 kB / 0.5803 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.1381, allocations: 0 / 0.5803 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1381, allocations: 38.56 kB / 0.5803 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 6.61e-07/0.1381, allocations: 0 / 0.5803 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0006182/0.1387, allocations: 319.6 kB / 0.5806 GB, free: 3.645 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.1387, allocations: 55.41 kB / 0.5807 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.1388, allocations: 98.7 kB / 0.5808 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1388, allocations: 25.7 kB / 0.5808 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.31e-05/0.1388, allocations: 88.14 kB / 0.5809 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.1389, allocations: 43.62 kB / 0.5809 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1389, allocations: 29.83 kB / 0.581 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.139, allocations: 318.8 kB / 0.5813 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.139, allocations: 4 kB / 0.5813 GB, free: 2.945 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.139, allocations: 35 kB / 0.5813 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.093e-05/0.1391, allocations: 46.22 kB / 0.5813 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1391, allocations: 0 / 0.5813 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.336e-05/0.1392, allocations: 77.53 kB / 0.5814 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1392, allocations: 4 kB / 0.5814 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1392, allocations: 4 kB / 0.5814 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1392, allocations: 0 / 0.5814 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.1393, allocations: 20 kB / 0.5814 GB, free: 2.746 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1393, allocations: 11.98 kB / 0.5815 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.1393, allocations: 0 / 0.5815 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1393, allocations: 4 kB / 0.5815 GB, free: 2.73 MB / 0.5573 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 5.79e-05/0.1394, allocations: 117.8 kB / 0.5816 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.1394, allocations: 7.938 kB / 0.5816 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.1394, allocations: 7.969 kB / 0.5816 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1394, allocations: 4 kB / 0.5816 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1394, allocations: 0 / 0.5816 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1394, allocations: 3.984 kB / 0.5816 GB, free: 2.586 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.184e-05/0.1395, allocations: 81.89 kB / 0.5817 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1395, allocations: 4 kB / 0.5817 GB, free: 2.484 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.1396, allocations: 23.98 kB / 0.5817 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.1396, allocations: 7.953 kB / 0.5817 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1396, allocations: 3.938 kB / 0.5817 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1396, allocations: 7.938 kB / 0.5817 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1396, allocations: 0 / 0.5817 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1396, allocations: 0 / 0.5817 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.1397, allocations: 109 kB / 0.5818 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.1398, allocations: 3.984 kB / 0.5818 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.1398, allocations: 3.938 kB / 0.5818 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.1398, allocations: 15.98 kB / 0.5818 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1398, allocations: 0 / 0.5818 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.825e-06/0.1398, allocations: 8.859 kB / 0.5819 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1398, allocations: 0 / 0.5819 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001498/0.14, allocations: 16 kB / 0.5819 GB, free: 2.266 MB / 0.5573 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 8.295e-05/0.1401, allocations: 76.42 kB / 0.5819 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.1401, allocations: 52.72 kB / 0.582 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.1401, allocations: 0 / 0.582 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.1402, allocations: 36.77 kB / 0.582 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.1403, allocations: 35.12 kB / 0.5821 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.1412, allocations: 193.7 kB / 0.5822 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1415, allocations: 59.36 kB / 0.5823 GB, free: 1.762 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.566e-05/0.1416, allocations: 12.72 kB / 0.5823 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.1417, allocations: 75.36 kB / 0.5824 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.1417, allocations: 0 / 0.5824 GB, free: 1.676 MB / 0.5573 GB Notification: Performance of Templates: time 0.002671/0.1443, allocations: 0.9851 MB / 0.5833 GB, free: 0.7148 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.651597747579217]