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.0005968/0.0005968, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009388/0.001536, allocations: 435.8 kB / 10.33 MB, free: 368 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.001057/0.001057, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008712/0.001928, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.157, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.8178/0.8178, allocations: 154.6 MB / 398.5 MB, free: 0.543 MB / 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.3297/1.147, allocations: 49.04 MB / 447.6 MB, free: 6.715 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 2.284e-06/2.284e-06, allocations: 0 / 448.8 MB, free: 5.465 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.833e-05/4.062e-05, allocations: 3.859 kB / 448.8 MB, free: 5.461 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00222/0.00226, allocations: 1.365 MB / 450.2 MB, free: 4.125 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1353/0.1376, allocations: 142.6 MB / 0.5789 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.1376, allocations: 0 / 0.5789 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.1376, allocations: 7.922 kB / 0.5789 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.1377, allocations: 7.938 kB / 0.5789 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.138, allocations: 87.5 kB / 0.579 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.1381, allocations: 39.84 kB / 0.5791 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.583e-05/0.1381, allocations: 3.938 kB / 0.5791 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.313e-05/0.1382, allocations: 19.98 kB / 0.5791 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.1382, allocations: 11.97 kB / 0.5791 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1382, allocations: 4 kB / 0.5791 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.1385, allocations: 87.69 kB / 0.5792 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1385, allocations: 8 kB / 0.5792 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.1385, allocations: 11.88 kB / 0.5792 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1386, allocations: 63.77 kB / 0.5793 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-05/0.1387, allocations: 4 kB / 0.5793 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1387, allocations: 0 / 0.5793 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.1387, allocations: 0 / 0.5793 GB, free: 5.086 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.0003698/0.1391, allocations: 270.5 kB / 0.5795 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1391, allocations: 8.031 kB / 0.5795 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.1393, allocations: 105.9 kB / 0.5796 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.1394, allocations: 109.8 kB / 0.5797 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1394, allocations: 384 / 0.5797 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1394, allocations: 8.328 kB / 0.5798 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.1395, allocations: 130.7 kB / 0.5799 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1395, allocations: 0 / 0.5799 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1395, allocations: 4 kB / 0.5799 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1395, allocations: 3.984 kB / 0.5799 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.1396, allocations: 15.94 kB / 0.5799 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.1397, allocations: 61.05 kB / 0.58 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.6e-05/0.1398, allocations: 42.62 kB / 0.58 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.1398, allocations: 16.84 kB / 0.58 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.1398, allocations: 4 kB / 0.58 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1398, allocations: 30.56 kB / 0.58 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1398, allocations: 0 / 0.58 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0006516/0.1405, allocations: 321 kB / 0.5804 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.1405, allocations: 51.41 kB / 0.5804 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.641e-05/0.1406, allocations: 106.7 kB / 0.5805 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.1406, allocations: 25.7 kB / 0.5805 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.1406, allocations: 80.14 kB / 0.5806 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.1406, allocations: 39.64 kB / 0.5806 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.1407, allocations: 33.69 kB / 0.5807 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.1407, allocations: 318.8 kB / 0.581 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.1408, allocations: 16.11 kB / 0.581 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.1408, allocations: 25.72 kB / 0.581 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.1408, allocations: 46.16 kB / 0.5811 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1408, allocations: 0 / 0.5811 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.977e-05/0.1409, allocations: 77.58 kB / 0.5811 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1409, allocations: 4 kB / 0.5811 GB, free: 2.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1409, allocations: 7.938 kB / 0.5812 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1409, allocations: 4 kB / 0.5812 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.141, allocations: 27.98 kB / 0.5812 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.141, allocations: 0 / 0.5812 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.1411, allocations: 0 / 0.5812 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1411, allocations: 8 kB / 0.5812 GB, free: 2.898 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.939e-05/0.1411, allocations: 117.8 kB / 0.5813 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.1411, allocations: 15.86 kB / 0.5813 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.1412, allocations: 11.97 kB / 0.5813 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1412, allocations: 0 / 0.5813 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1412, allocations: 0 / 0.5813 GB, free: 2.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1412, allocations: 7.984 kB / 0.5813 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.8e-05/0.1412, allocations: 69.91 kB / 0.5814 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1412, allocations: 0 / 0.5814 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.051e-05/0.1413, allocations: 23.98 kB / 0.5814 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.1414, allocations: 15.94 kB / 0.5814 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.1414, allocations: 11.92 kB / 0.5815 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1414, allocations: 0 / 0.5815 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1414, allocations: 0 / 0.5815 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1414, allocations: 0 / 0.5815 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1415, allocations: 101 kB / 0.5815 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.1415, allocations: 0 / 0.5815 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.98e-05/0.1416, allocations: 11.94 kB / 0.5816 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.1416, allocations: 11.92 kB / 0.5816 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1416, allocations: 0 / 0.5816 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.032e-05/0.1416, allocations: 8.859 kB / 0.5816 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1416, allocations: 0 / 0.5816 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001093/0.1417, allocations: 20 kB / 0.5816 GB, free: 2.434 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 0.0001032/0.1418, allocations: 87.41 kB / 0.5817 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.33e-05/0.1419, allocations: 44.77 kB / 0.5817 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.1419, allocations: 4 kB / 0.5817 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.1419, allocations: 27.09 kB / 0.5818 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.142, allocations: 32.06 kB / 0.5818 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009451/0.143, allocations: 185.7 kB / 0.582 GB, free: 2.023 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.935e-05/0.143, allocations: 63.84 kB / 0.582 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.695e-05/0.1431, allocations: 8.734 kB / 0.582 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.1432, allocations: 75.36 kB / 0.5821 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of SimCode: time 9.32e-07/0.1432, allocations: 0 / 0.5821 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of Templates: time 0.002628/0.1458, allocations: 0.9883 MB / 0.5831 GB, free: 0.8984 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.907850426621735]