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.001461/0.001461, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002608/0.002608, allocations: 173.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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.519/1.519, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 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-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 1.203/1.203, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 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.493e-06/1.493e-06, allocations: 0 / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.027e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002855/0.002885, allocations: 1.323 MB / 0.6198 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6507/0.6536, allocations: 130.1 MB / 0.7468 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.6537, allocations: 1.531 kB / 0.7468 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.957e-05/0.6537, allocations: 6.375 kB / 0.7468 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.6539, allocations: 18.47 kB / 0.7468 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.6549, allocations: 334.4 kB / 0.7471 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.655, allocations: 62.69 kB / 0.7472 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.6551, allocations: 6.719 kB / 0.7472 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.6552, allocations: 45.95 kB / 0.7473 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.6553, allocations: 27.81 kB / 0.7473 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.6553, allocations: 2.688 kB / 0.7473 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000794/0.6561, allocations: 377 kB / 0.7476 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.6562, allocations: 18.97 kB / 0.7477 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.6562, allocations: 21.98 kB / 0.7477 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.6566, allocations: 171.5 kB / 0.7478 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6566, allocations: 0 / 0.7478 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6566, allocations: 2.016 kB / 0.7479 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.6566, allocations: 4 kB / 0.7479 GB, free: 5.93 MB / 0.6075 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.0004842/0.6571, allocations: 312.2 kB / 0.7482 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6571, allocations: 9.469 kB / 0.7482 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.6576, allocations: 36 kB / 0.7482 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.198e-05/0.6576, allocations: 110.8 kB / 0.7483 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.6577, allocations: 10.61 kB / 0.7483 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.6577, allocations: 14.7 kB / 0.7483 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.6579, allocations: 210.4 kB / 0.7485 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.6579, allocations: 7.938 kB / 0.7485 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.6579, allocations: 1.406 kB / 0.7485 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.6579, allocations: 1.406 kB / 0.7485 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.658, allocations: 46.33 kB / 0.7486 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.6582, allocations: 124.9 kB / 0.7487 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.6584, allocations: 85.31 kB / 0.7488 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.6585, allocations: 36.92 kB / 0.7488 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/0.6587, allocations: 19.95 kB / 0.7488 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.6587, allocations: 40.78 kB / 0.7489 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.6587, allocations: 0 / 0.7489 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001369/0.6601, allocations: 480.9 kB / 0.7493 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.6601, allocations: 53.75 kB / 0.7494 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.006e-05/0.6602, allocations: 99.22 kB / 0.7495 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6602, allocations: 34.45 kB / 0.7495 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 1.946e-05/0.6602, allocations: 82.3 kB / 0.7496 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.6602, allocations: 74.08 kB / 0.7497 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.6603, allocations: 40.28 kB / 0.7497 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.6604, allocations: 319.4 kB / 0.75 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.745e-05/0.6604, allocations: 40.17 kB / 0.75 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.6605, allocations: 68.3 kB / 0.7501 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.6607, allocations: 118.8 kB / 0.7502 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6607, allocations: 1.094 kB / 0.7502 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002241/0.6609, allocations: 156.5 kB / 0.7504 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6609, allocations: 9.625 kB / 0.7504 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6609, allocations: 1.125 kB / 0.7504 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.661, allocations: 2.281 kB / 0.7504 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.6611, allocations: 40.06 kB / 0.7504 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6611, allocations: 1.031 kB / 0.7504 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.6612, allocations: 8.625 kB / 0.7504 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.6612, allocations: 5.5 kB / 0.7504 GB, free: 4.074 MB / 0.6075 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 8.22e-05/0.6613, allocations: 128.3 kB / 0.7506 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.6613, allocations: 8.422 kB / 0.7506 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.6614, allocations: 17.59 kB / 0.7506 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.6614, allocations: 10.16 kB / 0.7506 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6614, allocations: 2.375 kB / 0.7506 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6614, allocations: 3.938 kB / 0.7506 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.6615, allocations: 136.2 kB / 0.7507 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.6615, allocations: 0 / 0.7507 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.6617, allocations: 38.25 kB / 0.7508 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.6617, allocations: 1.031 kB / 0.7508 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.6617, allocations: 5.031 kB / 0.7508 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6617, allocations: 1.188 kB / 0.7508 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6617, allocations: 0.9688 kB / 0.7508 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.6621, allocations: 213.9 kB / 0.751 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.6621, allocations: 19.5 kB / 0.751 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.6621, allocations: 5.438 kB / 0.751 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6623, allocations: 9.812 kB / 0.751 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.6623, allocations: 9 kB / 0.751 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.6623, allocations: 10.7 kB / 0.751 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.143e-05/0.6623, allocations: 76.47 kB / 0.7511 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6623, allocations: 1.094 kB / 0.7511 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002294/0.6626, allocations: 26.03 kB / 0.7511 GB, free: 3.555 MB / 0.6075 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.0001416/0.6627, allocations: 111.4 kB / 0.7512 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.6629, allocations: 98.14 kB / 0.7513 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6629, allocations: 0 / 0.7513 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.663, allocations: 52.33 kB / 0.7514 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.6633, allocations: 14.97 kB / 0.7514 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/0.664, allocations: 409.6 kB / 0.7518 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.6641, allocations: 85.27 kB / 0.7519 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.6642, allocations: 27.98 kB / 0.7519 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.6642, allocations: 16.28 kB / 0.7519 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of SimCode: time 4.9e-07/0.6642, allocations: 0 / 0.7519 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.004469/0.6687, allocations: 1.068 MB / 0.7529 GB, free: 2.898 MB / 0.6075 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: 6.707824546843767] Failed to read output from testmodel.py, exit status != 0: 0.6773944683372974 0.691810739 0.032225072 Calling exit ...