Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001701/0.001701, allocations: 88.72 kB / 19.44 MB, free: 356 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.002231/0.002231, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.526/1.526, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.257/1.257, allocations: 154.8 MB / 414.3 MB, free: 452 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.15e-05, allocations: 4.266 kB / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.00245/0.002482, allocations: 1.332 MB / 0.5211 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1989/0.2014, allocations: 130.1 MB / 0.6481 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.2015, allocations: 0 / 0.6481 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.408e-05/0.2015, allocations: 11.92 kB / 0.6482 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2017, allocations: 7.938 kB / 0.6482 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.2031, allocations: 338.3 kB / 0.6485 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.2032, allocations: 71.7 kB / 0.6486 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.2033, allocations: 4 kB / 0.6486 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.2033, allocations: 39.94 kB / 0.6486 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.2035, allocations: 35.88 kB / 0.6486 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2035, allocations: 4 kB / 0.6486 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009733/0.2045, allocations: 374.5 kB / 0.649 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.2045, allocations: 19.92 kB / 0.649 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.2046, allocations: 19.98 kB / 0.649 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.2051, allocations: 167.5 kB / 0.6492 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2051, allocations: 0 / 0.6492 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2051, allocations: 4 kB / 0.6492 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2051, allocations: 0 / 0.6492 GB, free: 13.57 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.0007256/0.2058, allocations: 317.9 kB / 0.6495 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.2059, allocations: 12.03 kB / 0.6495 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005087/0.2064, allocations: 64.59 kB / 0.6496 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2065, allocations: 101.8 kB / 0.6497 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.2065, allocations: 12.31 kB / 0.6497 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.2065, allocations: 12.38 kB / 0.6497 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.2068, allocations: 214.1 kB / 0.6499 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2069, allocations: 0 / 0.6499 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2069, allocations: 0 / 0.6499 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2069, allocations: 4 kB / 0.6499 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.207, allocations: 43.95 kB / 0.6499 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.2072, allocations: 129.2 kB / 0.6501 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.2074, allocations: 82.59 kB / 0.6501 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.2075, allocations: 29.22 kB / 0.6502 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.2077, allocations: 27.91 kB / 0.6502 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.2077, allocations: 46.5 kB / 0.6502 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 9.01e-07/0.2077, allocations: 0 / 0.6502 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.001436/0.2091, allocations: 483.9 kB / 0.6507 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.2092, allocations: 55.41 kB / 0.6508 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.2093, allocations: 97.84 kB / 0.6508 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.2093, allocations: 33.7 kB / 0.6509 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.2094, allocations: 84.5 kB / 0.651 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.2094, allocations: 71.39 kB / 0.651 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.2095, allocations: 41.7 kB / 0.6511 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.2097, allocations: 318.8 kB / 0.6514 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.2098, allocations: 35.97 kB / 0.6514 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.2099, allocations: 71.34 kB / 0.6515 GB, free: 11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.2101, allocations: 119.4 kB / 0.6516 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2101, allocations: 0 / 0.6516 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002707/0.2103, allocations: 169.6 kB / 0.6517 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2104, allocations: 8 kB / 0.6518 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2104, allocations: 0 / 0.6518 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.2104, allocations: 4 kB / 0.6518 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2106, allocations: 35.92 kB / 0.6518 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2106, allocations: 4 kB / 0.6518 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.2106, allocations: 4 kB / 0.6518 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.2106, allocations: 8 kB / 0.6518 GB, free: 10.63 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.0001249/0.2108, allocations: 133.6 kB / 0.6519 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.2108, allocations: 15.95 kB / 0.652 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.2109, allocations: 16.47 kB / 0.652 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.2109, allocations: 8 kB / 0.652 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2109, allocations: 3.984 kB / 0.652 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2109, allocations: 0 / 0.652 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.211, allocations: 133.2 kB / 0.6521 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.211, allocations: 0 / 0.6521 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2112, allocations: 35.98 kB / 0.6521 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2112, allocations: 0 / 0.6521 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.2113, allocations: 11.98 kB / 0.6522 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2113, allocations: 0 / 0.6522 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2113, allocations: 3.938 kB / 0.6522 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.2116, allocations: 224 kB / 0.6524 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.2117, allocations: 15.94 kB / 0.6524 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2117, allocations: 64 / 0.6524 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2118, allocations: 12.23 kB / 0.6524 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.2119, allocations: 11.98 kB / 0.6524 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.2119, allocations: 12 kB / 0.6524 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2119, allocations: 75.28 kB / 0.6525 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2119, allocations: 0 / 0.6525 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002346/0.2122, allocations: 32 kB / 0.6525 GB, free: 9.848 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.0001817/0.2124, allocations: 111.3 kB / 0.6526 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.2126, allocations: 99.84 kB / 0.6527 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2126, allocations: 0 / 0.6527 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.2127, allocations: 47.92 kB / 0.6528 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.2131, allocations: 34.53 kB / 0.6528 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008369/0.2139, allocations: 419 kB / 0.6532 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.214, allocations: 83.81 kB / 0.6533 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.2141, allocations: 32.56 kB / 0.6533 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.2142, allocations: 16.5 kB / 0.6533 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2142, allocations: 0 / 0.6533 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of Templates: time 0.005049/0.2192, allocations: 1.427 MB / 0.6547 GB, free: 7.582 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.266993915080093]