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.0008001/0.0008001, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008205/0.0008205, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8521/0.8521, allocations: 177.1 MB / 203.5 MB, free: 5.414 MB / 186.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.7109/0.7109, allocations: 154.6 MB / 414.5 MB, free: 0.7578 MB / 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 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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.696e-05, allocations: 5.234 kB / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001584/0.001611, allocations: 1.329 MB / 0.6205 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4029/0.4045, allocations: 130.1 MB / 0.7475 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.4046, allocations: 1.25 kB / 0.7475 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.395e-05/0.4046, allocations: 5.859 kB / 0.7476 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.774e-05/0.4047, allocations: 13 kB / 0.7476 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007451/0.4055, allocations: 340.3 kB / 0.7479 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.4056, allocations: 64.58 kB / 0.748 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.4056, allocations: 6.625 kB / 0.748 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.4057, allocations: 45.3 kB / 0.748 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.301e-05/0.4058, allocations: 28.11 kB / 0.748 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.4058, allocations: 3.562 kB / 0.748 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.4063, allocations: 385.2 kB / 0.7484 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.393e-05/0.4064, allocations: 12.5 kB / 0.7484 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.4064, allocations: 25.17 kB / 0.7484 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.4067, allocations: 176 kB / 0.7486 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4067, allocations: 0 / 0.7486 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4067, allocations: 0 / 0.7486 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.4067, allocations: 0 / 0.7486 GB, free: 18.76 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.000359/0.407, allocations: 311.7 kB / 0.7489 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4071, allocations: 10.92 kB / 0.7489 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.4073, allocations: 32.5 kB / 0.7489 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.456e-05/0.4074, allocations: 118 kB / 0.7491 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4074, allocations: 4.219 kB / 0.7491 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.4074, allocations: 14.81 kB / 0.7491 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.4076, allocations: 220.6 kB / 0.7493 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4076, allocations: 0 / 0.7493 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4076, allocations: 2.125 kB / 0.7493 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4076, allocations: 1.031 kB / 0.7493 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/0.4077, allocations: 44.94 kB / 0.7493 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.4078, allocations: 123.2 kB / 0.7494 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.408, allocations: 84.48 kB / 0.7495 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.787e-05/0.408, allocations: 33.3 kB / 0.7496 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.4081, allocations: 23.33 kB / 0.7496 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.4082, allocations: 38.03 kB / 0.7496 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.4082, allocations: 0 / 0.7496 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008727/0.409, allocations: 492.1 kB / 0.7501 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.409, allocations: 53.66 kB / 0.7501 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.758e-05/0.4091, allocations: 99 kB / 0.7502 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.4091, allocations: 34.8 kB / 0.7503 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.4091, allocations: 82.27 kB / 0.7503 GB, free: 17.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.4092, allocations: 72.86 kB / 0.7504 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.4092, allocations: 43.06 kB / 0.7505 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.4092, allocations: 319 kB / 0.7508 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.363e-05/0.4093, allocations: 34.92 kB / 0.7508 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.4093, allocations: 66.88 kB / 0.7509 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.4095, allocations: 127 kB / 0.751 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4095, allocations: 0 / 0.751 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001458/0.4096, allocations: 161.2 kB / 0.7511 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4096, allocations: 5.5 kB / 0.7511 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.4096, allocations: 2.125 kB / 0.7511 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4096, allocations: 1.375 kB / 0.7511 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4097, allocations: 39.41 kB / 0.7512 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4098, allocations: 2.172 kB / 0.7512 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.4098, allocations: 6.75 kB / 0.7512 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4098, allocations: 5.5 kB / 0.7512 GB, free: 16.69 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 5.056e-05/0.4098, allocations: 132.8 kB / 0.7513 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.4099, allocations: 10.53 kB / 0.7513 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.4099, allocations: 17.84 kB / 0.7513 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4099, allocations: 1.375 kB / 0.7513 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4099, allocations: 0.75 kB / 0.7513 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4099, allocations: 2.125 kB / 0.7513 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.904e-05/0.41, allocations: 134.7 kB / 0.7515 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.41, allocations: 0.5625 kB / 0.7515 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.4101, allocations: 36.08 kB / 0.7515 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.4101, allocations: 0 / 0.7515 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.4101, allocations: 10.03 kB / 0.7515 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4101, allocations: 9.25 kB / 0.7515 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4101, allocations: 0.7031 kB / 0.7515 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.4103, allocations: 211.4 kB / 0.7517 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.4103, allocations: 18.45 kB / 0.7517 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.4104, allocations: 1.734 kB / 0.7518 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.4104, allocations: 12.64 kB / 0.7518 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.4104, allocations: 10.69 kB / 0.7518 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.4105, allocations: 9.328 kB / 0.7518 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.4105, allocations: 77.16 kB / 0.7519 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4105, allocations: 4.094 kB / 0.7519 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001425/0.4106, allocations: 26.44 kB / 0.7519 GB, free: 16.17 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.0001041/0.4107, allocations: 105 kB / 0.752 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.4109, allocations: 97.84 kB / 0.7521 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4109, allocations: 1.219 kB / 0.7521 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.194e-05/0.4109, allocations: 47.66 kB / 0.7521 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.4111, allocations: 24.19 kB / 0.7521 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.4116, allocations: 431 kB / 0.7526 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.088e-05/0.4116, allocations: 91.83 kB / 0.7526 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.4117, allocations: 18 kB / 0.7527 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4117, allocations: 0 / 0.7527 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.002227/0.4139, allocations: 1.348 MB / 0.754 GB, free: 15.51 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.589528549462557] Failed to read output from testmodel.py, exit status != 0: 0.41979486029595137 0.427657855 0.01914435 Calling exit ...