Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.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.001978/0.001978, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002782/0.002782, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 1.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.287/1.287, allocations: 154.6 MB / 414.2 MB, free: 0.6172 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 178] 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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.5196 GB, free: 2.605 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.538e-05, allocations: 4.141 kB / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.00256/0.002595, allocations: 1.317 MB / 0.5209 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.199/0.2016, allocations: 130.1 MB / 0.6479 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.2016, allocations: 3.938 kB / 0.6479 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.868e-05/0.2017, allocations: 0 / 0.6479 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.2018, allocations: 19.84 kB / 0.6479 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.2032, allocations: 334.3 kB / 0.6482 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.2033, allocations: 71.69 kB / 0.6483 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.2034, allocations: 0 / 0.6483 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.2034, allocations: 35.95 kB / 0.6483 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2036, allocations: 31.89 kB / 0.6484 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2036, allocations: 4 kB / 0.6484 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009445/0.2045, allocations: 382.5 kB / 0.6487 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.2046, allocations: 15.92 kB / 0.6488 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.2047, allocations: 27.97 kB / 0.6488 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.2051, allocations: 167.5 kB / 0.6489 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2051, allocations: 0 / 0.6489 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2051, allocations: 0 / 0.6489 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2051, allocations: 0 / 0.6489 GB, free: 13.83 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005577/0.2057, allocations: 314 kB / 0.6492 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2057, allocations: 8.031 kB / 0.6493 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005022/0.2062, allocations: 64.55 kB / 0.6493 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2063, allocations: 109.7 kB / 0.6494 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.2063, allocations: 8.375 kB / 0.6494 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.2064, allocations: 16.36 kB / 0.6494 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.2067, allocations: 206.1 kB / 0.6496 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2067, allocations: 0 / 0.6496 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.2067, allocations: 4 kB / 0.6496 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.2067, allocations: 0 / 0.6496 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.2068, allocations: 43.95 kB / 0.6497 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.207, allocations: 141.1 kB / 0.6498 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.2072, allocations: 81.53 kB / 0.6499 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.2073, allocations: 32.84 kB / 0.6499 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.2075, allocations: 24.31 kB / 0.65 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.2075, allocations: 38.5 kB / 0.65 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2075, allocations: 3.938 kB / 0.65 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001436/0.209, allocations: 486 kB / 0.6505 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.209, allocations: 59.41 kB / 0.6505 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.2091, allocations: 97.8 kB / 0.6506 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.2091, allocations: 29.7 kB / 0.6506 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.2092, allocations: 80.52 kB / 0.6507 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.219e-05/0.2093, allocations: 79.36 kB / 0.6508 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.2093, allocations: 37.72 kB / 0.6508 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.2095, allocations: 326.8 kB / 0.6511 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.247e-05/0.2096, allocations: 31.98 kB / 0.6512 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.2097, allocations: 74.64 kB / 0.6512 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.2099, allocations: 127.5 kB / 0.6514 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2099, allocations: 0 / 0.6514 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002677/0.2102, allocations: 161.5 kB / 0.6515 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2102, allocations: 4 kB / 0.6515 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2102, allocations: 4 kB / 0.6515 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.2102, allocations: 0 / 0.6515 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2104, allocations: 39.92 kB / 0.6516 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.2104, allocations: 0 / 0.6516 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.2105, allocations: 8 kB / 0.6516 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2105, allocations: 4 kB / 0.6516 GB, free: 10.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001267/0.2106, allocations: 137.7 kB / 0.6517 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.2106, allocations: 15.95 kB / 0.6517 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.2107, allocations: 20.45 kB / 0.6517 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2107, allocations: 0 / 0.6517 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.2107, allocations: 4 kB / 0.6517 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2107, allocations: 0 / 0.6517 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2109, allocations: 129.2 kB / 0.6519 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2109, allocations: 0 / 0.6519 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.2111, allocations: 47.91 kB / 0.6519 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2111, allocations: 0 / 0.6519 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2111, allocations: 0 / 0.6519 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.2111, allocations: 8.125 kB / 0.6519 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2111, allocations: 4 kB / 0.6519 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.2115, allocations: 218 kB / 0.6521 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.843e-05/0.2115, allocations: 16 kB / 0.6521 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.2116, allocations: 4 kB / 0.6521 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.2117, allocations: 11.94 kB / 0.6522 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.2117, allocations: 11.97 kB / 0.6522 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2117, allocations: 8 kB / 0.6522 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.2118, allocations: 79.28 kB / 0.6523 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2118, allocations: 0 / 0.6523 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000237/0.212, allocations: 36.09 kB / 0.6523 GB, free: 10.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001638/0.2122, allocations: 103.2 kB / 0.6524 GB, free: 10 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.2124, allocations: 98.08 kB / 0.6525 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2124, allocations: 0 / 0.6525 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.2125, allocations: 51.91 kB / 0.6525 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2129, allocations: 44.36 kB / 0.6526 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.2137, allocations: 412.9 kB / 0.653 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.901e-05/0.2138, allocations: 91.81 kB / 0.6531 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.2139, allocations: 16.64 kB / 0.6531 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.214, allocations: 16.5 kB / 0.6531 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of SimCode: time 7.02e-07/0.214, allocations: 4 kB / 0.6531 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of Templates: time 0.004963/0.2189, allocations: 1.418 MB / 0.6545 GB, free: 7.871 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.437074829940684]