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.001046/0.001046, allocations: 81.86 kB / 19.87 MB, free: 4.617 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.0009824/0.0009824, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9453/0.9453, allocations: 177.1 MB / 203.7 MB, free: 5.496 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-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 0.7968/0.7968, allocations: 154.9 MB / 415.1 MB, free: 264 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 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.923e-06/1.923e-06, allocations: 0 / 0.5211 GB, free: 1.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.91e-05, allocations: 2.875 kB / 0.5211 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002445/0.002475, allocations: 1.359 MB / 0.5224 GB, free: 232 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1248/0.1272, allocations: 141.2 MB / 0.6604 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.1273, allocations: 0 / 0.6604 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.755e-05/0.1273, allocations: 3.938 kB / 0.6604 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.1274, allocations: 15.84 kB / 0.6604 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.1283, allocations: 334.3 kB / 0.6607 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.1284, allocations: 71.69 kB / 0.6608 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.167e-05/0.1284, allocations: 0 / 0.6608 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.1285, allocations: 39.95 kB / 0.6608 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.1285, allocations: 27.89 kB / 0.6608 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1286, allocations: 4 kB / 0.6608 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.1291, allocations: 378.6 kB / 0.6612 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.1294, allocations: 19.91 kB / 0.6612 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.1295, allocations: 27.97 kB / 0.6612 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1297, allocations: 171.4 kB / 0.6614 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1297, allocations: 0 / 0.6614 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1297, allocations: 0 / 0.6614 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.1297, allocations: 0 / 0.6614 GB, free: 1.551 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.0003628/0.1301, allocations: 416.2 kB / 0.6618 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1301, allocations: 11.97 kB / 0.6618 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.1305, allocations: 60.66 kB / 0.6619 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.573e-05/0.1305, allocations: 112.6 kB / 0.662 GB, free: 0.9023 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1305, allocations: 12.38 kB / 0.662 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1306, allocations: 8.375 kB / 0.662 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.1307, allocations: 198.1 kB / 0.6622 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1307, allocations: 0 / 0.6622 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1307, allocations: 4 kB / 0.6622 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1307, allocations: 4 kB / 0.6622 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.1308, allocations: 31.89 kB / 0.6622 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.1309, allocations: 117.2 kB / 0.6623 GB, free: 484 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.131, allocations: 79.08 kB / 0.6624 GB, free: 392 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.1311, allocations: 24.09 kB / 0.6624 GB, free: 364 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.1312, allocations: 31.92 kB / 0.6625 GB, free: 332 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1312, allocations: 41.33 kB / 0.6625 GB, free: 280 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.1312, allocations: 0 / 0.6625 GB, free: 280 kB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.0008533/0.1321, allocations: 454.3 kB / 0.6629 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.1321, allocations: 51.41 kB / 0.663 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.1322, allocations: 161.9 kB / 0.6631 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1322, allocations: 29.7 kB / 0.6632 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.1322, allocations: 127.2 kB / 0.6633 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.1323, allocations: 71.38 kB / 0.6634 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.1323, allocations: 47.34 kB / 0.6634 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1324, allocations: 0.4923 MB / 0.6639 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.1325, allocations: 15.98 kB / 0.6639 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.1325, allocations: 65.95 kB / 0.664 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.81e-05/0.1326, allocations: 98.77 kB / 0.664 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1326, allocations: 3.938 kB / 0.6641 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001544/0.1328, allocations: 121.6 kB / 0.6642 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1328, allocations: 7.984 kB / 0.6642 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1328, allocations: 4 kB / 0.6642 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1328, allocations: 3.938 kB / 0.6642 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1329, allocations: 39.98 kB / 0.6642 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1329, allocations: 0 / 0.6642 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.133, allocations: 4 kB / 0.6642 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.133, allocations: 8 kB / 0.6642 GB, free: 14.36 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 7.891e-05/0.1331, allocations: 172.5 kB / 0.6644 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.1331, allocations: 15.95 kB / 0.6644 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.1331, allocations: 16.47 kB / 0.6644 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1331, allocations: 4 kB / 0.6644 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1331, allocations: 128 / 0.6644 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.1331, allocations: 11.97 kB / 0.6644 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1332, allocations: 117.2 kB / 0.6646 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1332, allocations: 0 / 0.6646 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1334, allocations: 39.92 kB / 0.6646 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1334, allocations: 3.938 kB / 0.6646 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1334, allocations: 8 kB / 0.6646 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1334, allocations: 4 kB / 0.6646 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1334, allocations: 7.922 kB / 0.6646 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.1336, allocations: 165.7 kB / 0.6648 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.1336, allocations: 19.88 kB / 0.6648 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.1336, allocations: 4 kB / 0.6648 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.1337, allocations: 8 kB / 0.6648 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.368e-05/0.1337, allocations: 15.91 kB / 0.6648 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1337, allocations: 4 kB / 0.6648 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.1338, allocations: 119.2 kB / 0.6649 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1338, allocations: 4.094 kB / 0.6649 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002016/0.134, allocations: 32 kB / 0.665 GB, free: 13.54 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.000106/0.1341, allocations: 99.25 kB / 0.6651 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1342, allocations: 83.56 kB / 0.6651 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1342, allocations: 0 / 0.6651 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.239e-05/0.1342, allocations: 54.3 kB / 0.6652 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.1345, allocations: 35.91 kB / 0.6652 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.1351, allocations: 414.6 kB / 0.6656 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.1352, allocations: 71.94 kB / 0.6657 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.625e-05/0.1352, allocations: 16.64 kB / 0.6657 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.1353, allocations: 114.2 kB / 0.6658 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.1353, allocations: 0 / 0.6658 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.003607/0.139, allocations: 1.615 MB / 0.6674 GB, free: 11.04 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: 4.154760472010821]