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.001024/0.001024, allocations: 111 kB / 19.7 MB, free: 0.6367 MB / 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.001201/0.001201, allocations: 211.8 kB / 23.01 MB, free: 3.203 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 0.9241/0.9241, allocations: 230.6 MB / 256.8 MB, free: 9.789 MB / 202.7 MB " [Timeout remaining time 179] 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-531:190: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-531:198: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 0.7779/0.7779, allocations: 203.8 MB / 0.5049 GB, free: 10.69 MB / 410.7 MB " [Timeout remaining time 179] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009151/0.0009151, allocations: 62.28 kB / 0.7194 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4799, allocations: 102 MB / 0.8191 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.0015/0.4814, allocations: 1.356 MB / 0.8204 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.6097, allocations: 151.4 MB / 0.9683 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.6098, allocations: 4 kB / 0.9683 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.085e-05/0.6099, allocations: 7.922 kB / 0.9683 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.61, allocations: 7.922 kB / 0.9683 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007894/0.6108, allocations: 342.6 kB / 0.9686 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.6109, allocations: 63.81 kB / 0.9687 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.6109, allocations: 11.66 kB / 0.9687 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/0.611, allocations: 35.84 kB / 0.9687 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.6111, allocations: 35.89 kB / 0.9688 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.6111, allocations: 4 kB / 0.9688 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.6116, allocations: 438.7 kB / 0.9692 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.6117, allocations: 19.91 kB / 0.9692 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.6117, allocations: 23.94 kB / 0.9692 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.612, allocations: 166.7 kB / 0.9694 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.612, allocations: 0 / 0.9694 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/0.612, allocations: 0 / 0.9694 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.612, allocations: 0 / 0.9694 GB, free: 11.53 MB / 0.7448 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.0004068/0.6124, allocations: 306 kB / 0.9697 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6124, allocations: 8.031 kB / 0.9697 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.6127, allocations: 36.84 kB / 0.9697 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.86e-05/0.6128, allocations: 118.4 kB / 0.9698 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.6128, allocations: 15.88 kB / 0.9698 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.6128, allocations: 11.95 kB / 0.9698 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.613, allocations: 80.16 kB / 0.9699 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.613, allocations: 0 / 0.9699 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.613, allocations: 4 kB / 0.9699 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.613, allocations: 3.938 kB / 0.9699 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.6131, allocations: 43.95 kB / 0.97 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001896/0.6133, allocations: 152.7 kB / 0.9701 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.6135, allocations: 94.62 kB / 0.9702 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.6135, allocations: 24.84 kB / 0.9702 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.6137, allocations: 27.97 kB / 0.9703 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.6137, allocations: 30.89 kB / 0.9703 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.6137, allocations: 0 / 0.9703 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0009966/0.6147, allocations: 487.4 kB / 0.9708 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.6147, allocations: 55.41 kB / 0.9708 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.6148, allocations: 105.7 kB / 0.9709 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.6148, allocations: 29.7 kB / 0.9709 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.6148, allocations: 80.52 kB / 0.971 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.6149, allocations: 79.36 kB / 0.9711 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.6149, allocations: 37.72 kB / 0.9711 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.615, allocations: 318.8 kB / 0.9714 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/0.6151, allocations: 35.97 kB / 0.9715 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.552e-05/0.6152, allocations: 71.53 kB / 0.9715 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.6153, allocations: 115.4 kB / 0.9716 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6153, allocations: 0 / 0.9716 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002928/0.6156, allocations: 165.5 kB / 0.9718 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6156, allocations: 4 kB / 0.9718 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6156, allocations: 4 kB / 0.9718 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6156, allocations: 0 / 0.9718 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.6157, allocations: 39.98 kB / 0.9718 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.6157, allocations: 11.94 kB / 0.9719 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.6158, allocations: 3.938 kB / 0.9719 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.6158, allocations: 8 kB / 0.9719 GB, free: 8.742 MB / 0.7448 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 7.331e-05/0.6158, allocations: 125.8 kB / 0.972 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.6158, allocations: 7.953 kB / 0.972 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.6159, allocations: 20.45 kB / 0.972 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6159, allocations: 3.984 kB / 0.972 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6159, allocations: 4 kB / 0.972 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.6159, allocations: 3.938 kB / 0.972 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.616, allocations: 164.7 kB / 0.9722 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.616, allocations: 0 / 0.9722 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.6161, allocations: 39.92 kB / 0.9722 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6161, allocations: 4 kB / 0.9722 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6161, allocations: 0 / 0.9722 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.6161, allocations: 0 / 0.9722 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.6161, allocations: 0 / 0.9722 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.6163, allocations: 218 kB / 0.9724 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.6164, allocations: 19.92 kB / 0.9725 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.6164, allocations: 4.062 kB / 0.9725 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.6164, allocations: 4 kB / 0.9725 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.6165, allocations: 23.86 kB / 0.9725 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.6165, allocations: 12.19 kB / 0.9725 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.355e-05/0.6165, allocations: 79.28 kB / 0.9726 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.6165, allocations: 0 / 0.9726 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001405/0.6166, allocations: 28 kB / 0.9726 GB, free: 7.926 MB / 0.7448 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.0001109/0.6167, allocations: 111.3 kB / 0.9727 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.6169, allocations: 99.83 kB / 0.9728 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6169, allocations: 0 / 0.9728 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.445e-05/0.6169, allocations: 48.95 kB / 0.9728 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.6172, allocations: 18.33 kB / 0.9729 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.6178, allocations: 0.5349 MB / 0.9734 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.618, allocations: 0.7008 MB / 0.9741 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.618, allocations: 19.44 kB / 0.9741 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/0.618, allocations: 0 / 0.9741 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.002492/0.6205, allocations: 1.311 MB / 0.9754 GB, free: 5.016 MB / 0.7448 GB " [Timeout remaining time 659] 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: 5.748570953030139] Failed to read output from testmodel.py, exit status != 0: 0.6263201981782913 0.633981377 0.020251031000000003 Calling exit ...