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.0009058/0.0009058, allocations: 80.89 kB / 19.94 MB, free: 4.551 MB / 18.57 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.0008551/0.0008551, allocations: 181 kB / 23.36 MB, free: 1.137 MB / 18.57 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 0.9179/0.9179, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.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.7764/0.7764, allocations: 154.6 MB / 414.8 MB, free: 0.5 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. " [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.683e-06/1.683e-06, allocations: 0 / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.443e-05, allocations: 4 kB / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002482/0.002506, allocations: 1.312 MB / 481.3 MB, free: 5.617 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1363/0.1388, allocations: 142.2 MB / 0.6089 GB, free: 7.27 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.1388, allocations: 0 / 0.6089 GB, free: 7.27 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.1388, allocations: 3.938 kB / 0.6089 GB, free: 7.266 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.1389, allocations: 7.922 kB / 0.6089 GB, free: 7.258 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.1392, allocations: 103.4 kB / 0.609 GB, free: 7.156 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.1393, allocations: 27.92 kB / 0.609 GB, free: 7.129 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.1393, allocations: 8 kB / 0.609 GB, free: 7.121 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.324e-05/0.1394, allocations: 23.91 kB / 0.609 GB, free: 7.098 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.1394, allocations: 11.98 kB / 0.6091 GB, free: 7.086 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1395, allocations: 0 / 0.6091 GB, free: 7.086 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.1397, allocations: 83.73 kB / 0.6091 GB, free: 7.004 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1397, allocations: 7.938 kB / 0.6091 GB, free: 6.996 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.1397, allocations: 16.59 kB / 0.6092 GB, free: 6.98 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.1398, allocations: 63.83 kB / 0.6092 GB, free: 6.918 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.1398, allocations: 11.98 kB / 0.6092 GB, free: 6.906 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1398, allocations: 0 / 0.6092 GB, free: 6.906 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.1398, allocations: 0 / 0.6092 GB, free: 6.906 MB / 0.573 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.0002681/0.1401, allocations: 256.4 kB / 0.6095 GB, free: 6.633 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1401, allocations: 8.031 kB / 0.6095 GB, free: 6.625 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.1402, allocations: 29.09 kB / 0.6095 GB, free: 6.598 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.055e-05/0.1403, allocations: 105.8 kB / 0.6096 GB, free: 6.469 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1403, allocations: 8.375 kB / 0.6096 GB, free: 6.461 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1403, allocations: 4.375 kB / 0.6096 GB, free: 6.457 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.1404, allocations: 130.7 kB / 0.6097 GB, free: 6.305 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1405, allocations: 0 / 0.6097 GB, free: 6.305 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.1405, allocations: 0 / 0.6097 GB, free: 6.305 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1405, allocations: 4 kB / 0.6098 GB, free: 6.301 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.1405, allocations: 7.938 kB / 0.6098 GB, free: 6.293 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.649e-05/0.1406, allocations: 73.02 kB / 0.6098 GB, free: 6.207 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.56e-05/0.1406, allocations: 42.56 kB / 0.6099 GB, free: 6.156 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.1407, allocations: 12.86 kB / 0.6099 GB, free: 6.141 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.1407, allocations: 4 kB / 0.6099 GB, free: 6.137 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1407, allocations: 30.56 kB / 0.6099 GB, free: 6.098 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 6.81e-07/0.1407, allocations: 0 / 0.6099 GB, free: 6.098 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0005436/0.1412, allocations: 325 kB / 0.6102 GB, free: 5.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1413, allocations: 63.34 kB / 0.6103 GB, free: 5.676 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.1413, allocations: 98.7 kB / 0.6104 GB, free: 5.566 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.1413, allocations: 33.7 kB / 0.6104 GB, free: 5.527 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.1413, allocations: 80.14 kB / 0.6105 GB, free: 5.445 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1414, allocations: 43.62 kB / 0.6105 GB, free: 5.402 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.1414, allocations: 25.7 kB / 0.6106 GB, free: 5.371 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.1415, allocations: 322.8 kB / 0.6109 GB, free: 5.047 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.1415, allocations: 8 kB / 0.6109 GB, free: 5.039 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.1415, allocations: 24.95 kB / 0.6109 GB, free: 5.012 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.1416, allocations: 45.75 kB / 0.6109 GB, free: 4.961 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1416, allocations: 4 kB / 0.6109 GB, free: 4.957 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.016e-05/0.1416, allocations: 73.59 kB / 0.611 GB, free: 4.879 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.1416, allocations: 8 kB / 0.611 GB, free: 4.871 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1416, allocations: 3.938 kB / 0.611 GB, free: 4.867 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1417, allocations: 0 / 0.611 GB, free: 4.867 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.1417, allocations: 23.98 kB / 0.611 GB, free: 4.844 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.1417, allocations: 0 / 0.611 GB, free: 4.844 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.1417, allocations: 4 kB / 0.611 GB, free: 4.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1417, allocations: 4 kB / 0.6111 GB, free: 4.836 MB / 0.573 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.092e-05/0.1418, allocations: 109.8 kB / 0.6112 GB, free: 4.719 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.1418, allocations: 23.86 kB / 0.6112 GB, free: 4.695 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.1418, allocations: 11.97 kB / 0.6112 GB, free: 4.688 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1418, allocations: 0 / 0.6112 GB, free: 4.688 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1418, allocations: 0 / 0.6112 GB, free: 4.688 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1418, allocations: 0 / 0.6112 GB, free: 4.688 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.425e-05/0.1419, allocations: 77.88 kB / 0.6113 GB, free: 4.594 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1419, allocations: 0 / 0.6113 GB, free: 4.594 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.142, allocations: 20 kB / 0.6113 GB, free: 4.574 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.142, allocations: 0 / 0.6113 GB, free: 4.574 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.142, allocations: 4 kB / 0.6113 GB, free: 4.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.142, allocations: 7.922 kB / 0.6113 GB, free: 4.562 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.142, allocations: 4.469 kB / 0.6113 GB, free: 4.559 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.1421, allocations: 108.9 kB / 0.6114 GB, free: 4.434 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.1421, allocations: 4.047 kB / 0.6114 GB, free: 4.43 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.1421, allocations: 7.984 kB / 0.6114 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.1422, allocations: 3.938 kB / 0.6114 GB, free: 4.418 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1422, allocations: 11.98 kB / 0.6114 GB, free: 4.406 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1422, allocations: 4 kB / 0.6114 GB, free: 4.402 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.217e-06/0.1422, allocations: 8.859 kB / 0.6114 GB, free: 4.391 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1422, allocations: 0 / 0.6114 GB, free: 4.391 MB / 0.573 GB Notification: Performance of remove unused functions: time 9.991e-05/0.1423, allocations: 16.09 kB / 0.6115 GB, free: 4.375 MB / 0.573 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.992e-05/0.1424, allocations: 84.41 kB / 0.6115 GB, free: 4.281 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.348e-05/0.1424, allocations: 52.86 kB / 0.6116 GB, free: 4.227 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1425, allocations: 4 kB / 0.6116 GB, free: 4.223 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.1425, allocations: 28.78 kB / 0.6116 GB, free: 4.191 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.1426, allocations: 20.12 kB / 0.6116 GB, free: 4.172 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.143, allocations: 224 kB / 0.6119 GB, free: 3.926 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.721e-05/0.1431, allocations: 59.34 kB / 0.6119 GB, free: 3.848 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.1431, allocations: 8.734 kB / 0.6119 GB, free: 3.84 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.1432, allocations: 71.36 kB / 0.612 GB, free: 3.77 MB / 0.573 GB Notification: Performance of SimCode: time 5.81e-07/0.1432, allocations: 0 / 0.612 GB, free: 3.77 MB / 0.573 GB Notification: Performance of Templates: time 0.002295/0.1455, allocations: 0.9428 MB / 0.6129 GB, free: 2.852 MB / 0.573 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.684543114155531]