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.002262/0.002262, allocations: 85.48 kB / 19.44 MB, free: 336 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.003215/0.003215, allocations: 173.2 kB / 22.76 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.66/1.66, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.293/1.293, allocations: 154.8 MB / 414.4 MB, free: 464 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.663e-06/1.663e-06, allocations: 0 / 0.5198 GB, free: 2.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.675e-05/3.841e-05, allocations: 4.562 kB / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002866/0.002904, allocations: 1.355 MB / 0.5211 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2261/0.229, allocations: 143.7 MB / 0.6614 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.268e-05/0.2291, allocations: 0 / 0.6614 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.854e-05/0.2292, allocations: 0 / 0.6614 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.2294, allocations: 19.84 kB / 0.6614 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.2307, allocations: 334.3 kB / 0.6618 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2308, allocations: 67.75 kB / 0.6618 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.2309, allocations: 7.938 kB / 0.6618 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.231, allocations: 39.88 kB / 0.6619 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2311, allocations: 31.95 kB / 0.6619 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.2311, allocations: 4 kB / 0.6619 GB, free: 500 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008657/0.232, allocations: 370.6 kB / 0.6623 GB, free: 128 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.232, allocations: 19.91 kB / 0.6623 GB, free: 108 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.2321, allocations: 23.97 kB / 0.6623 GB, free: 84 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.2325, allocations: 171.5 kB / 0.6625 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2325, allocations: 0 / 0.6625 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2325, allocations: 0 / 0.6625 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2325, allocations: 0 / 0.6625 GB, free: 15.91 MB / 0.6355 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.0006347/0.2331, allocations: 423.8 kB / 0.6629 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2332, allocations: 12.03 kB / 0.6629 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004725/0.2337, allocations: 56.67 kB / 0.6629 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2338, allocations: 116.5 kB / 0.663 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2338, allocations: 4.375 kB / 0.6631 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.2338, allocations: 8.375 kB / 0.6631 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.2341, allocations: 209.6 kB / 0.6633 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2341, allocations: 0 / 0.6633 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2341, allocations: 3.984 kB / 0.6633 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2342, allocations: 4 kB / 0.6633 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.2343, allocations: 39.95 kB / 0.6633 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.2345, allocations: 140.5 kB / 0.6634 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2347, allocations: 91.11 kB / 0.6635 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.2348, allocations: 23.69 kB / 0.6635 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.235, allocations: 23.97 kB / 0.6636 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.235, allocations: 45.33 kB / 0.6636 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.235, allocations: 0 / 0.6636 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001394/0.2364, allocations: 477.9 kB / 0.6641 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2365, allocations: 55.41 kB / 0.6641 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2366, allocations: 149.9 kB / 0.6643 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.2366, allocations: 33.7 kB / 0.6643 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.2367, allocations: 131.2 kB / 0.6644 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.94e-05/0.2368, allocations: 75.33 kB / 0.6645 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.2369, allocations: 51.48 kB / 0.6645 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002651/0.2371, allocations: 0.5 MB / 0.665 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.2372, allocations: 23.98 kB / 0.6651 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.2373, allocations: 78.72 kB / 0.6651 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.2375, allocations: 122.7 kB / 0.6652 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2375, allocations: 0 / 0.6652 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002693/0.2378, allocations: 149.5 kB / 0.6654 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2378, allocations: 8 kB / 0.6654 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2378, allocations: 0 / 0.6654 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2378, allocations: 4 kB / 0.6654 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.238, allocations: 35.92 kB / 0.6654 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.238, allocations: 8 kB / 0.6654 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.2381, allocations: 4 kB / 0.6654 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2381, allocations: 12 kB / 0.6655 GB, free: 12.56 MB / 0.6355 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.0001416/0.2382, allocations: 168.5 kB / 0.6656 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.2383, allocations: 19.94 kB / 0.6656 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.189e-05/0.2383, allocations: 16.47 kB / 0.6657 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.2383, allocations: 4 kB / 0.6657 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2383, allocations: 0 / 0.6657 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2383, allocations: 3.938 kB / 0.6657 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2385, allocations: 148.5 kB / 0.6658 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2385, allocations: 0 / 0.6658 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.2387, allocations: 35.92 kB / 0.6658 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.2387, allocations: 4 kB / 0.6658 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.2388, allocations: 4 kB / 0.6658 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2388, allocations: 0 / 0.6658 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2388, allocations: 0 / 0.6658 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.2391, allocations: 205.8 kB / 0.666 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.2392, allocations: 11.95 kB / 0.6661 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.2392, allocations: 11.98 kB / 0.6661 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2393, allocations: 4 kB / 0.6661 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.2393, allocations: 11.98 kB / 0.6661 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.2394, allocations: 12 kB / 0.6661 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.942e-05/0.2394, allocations: 123.2 kB / 0.6662 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.2394, allocations: 0 / 0.6662 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002424/0.2397, allocations: 32 kB / 0.6662 GB, free: 11.7 MB / 0.6355 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.0001709/0.2398, allocations: 103.2 kB / 0.6663 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.2401, allocations: 111.5 kB / 0.6664 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2401, allocations: 4.094 kB / 0.6664 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.2402, allocations: 58.34 kB / 0.6665 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.2405, allocations: 38.25 kB / 0.6665 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008674/0.2414, allocations: 404.9 kB / 0.6669 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.2415, allocations: 91.8 kB / 0.667 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001212/0.2416, allocations: 24.62 kB / 0.667 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.2417, allocations: 16.5 kB / 0.6671 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.2417, allocations: 0 / 0.6671 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.005404/0.2471, allocations: 1.427 MB / 0.6684 GB, free: 9.406 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.892115812050179]