Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009606/0.0009606, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001018/0.001018, allocations: 181 kB / 23.36 MB, free: 1.133 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.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8061/0.8061, allocations: 154.6 MB / 414.8 MB, free: 0.4961 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 480 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.442e-05, allocations: 5.828 kB / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001575/0.00159, allocations: 1.426 MB / 481.4 MB, free: 5.469 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1271/0.1287, allocations: 143.3 MB / 0.6101 GB, free: 5.98 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.1287, allocations: 0 / 0.6101 GB, free: 5.98 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.1288, allocations: 0 / 0.6101 GB, free: 5.98 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.91e-05/0.1289, allocations: 23.8 kB / 0.6102 GB, free: 5.957 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.1296, allocations: 334.3 kB / 0.6105 GB, free: 5.629 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.025e-05/0.1297, allocations: 75.73 kB / 0.6105 GB, free: 5.555 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.1297, allocations: 0 / 0.6105 GB, free: 5.555 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.1297, allocations: 43.89 kB / 0.6106 GB, free: 5.512 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.1298, allocations: 23.95 kB / 0.6106 GB, free: 5.488 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1298, allocations: 4 kB / 0.6106 GB, free: 5.484 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005024/0.1303, allocations: 378.6 kB / 0.611 GB, free: 5.113 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.1304, allocations: 23.91 kB / 0.611 GB, free: 5.09 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.1304, allocations: 15.98 kB / 0.611 GB, free: 5.074 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1306, allocations: 175.4 kB / 0.6112 GB, free: 4.902 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1306, allocations: 0 / 0.6112 GB, free: 4.902 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1306, allocations: 0 / 0.6112 GB, free: 4.902 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1306, allocations: 0 / 0.6112 GB, free: 4.902 MB / 0.573 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.000303/0.1309, allocations: 292.5 kB / 0.6115 GB, free: 4.594 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.131, allocations: 11.97 kB / 0.6115 GB, free: 4.582 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.1313, allocations: 68.69 kB / 0.6115 GB, free: 4.516 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.151e-05/0.1313, allocations: 105.7 kB / 0.6116 GB, free: 4.387 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.1313, allocations: 4.375 kB / 0.6116 GB, free: 4.383 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1314, allocations: 20.31 kB / 0.6117 GB, free: 4.363 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1315, allocations: 204.9 kB / 0.6119 GB, free: 4.125 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1315, allocations: 0 / 0.6119 GB, free: 4.125 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1315, allocations: 4 kB / 0.6119 GB, free: 4.121 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1315, allocations: 0 / 0.6119 GB, free: 4.121 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.1316, allocations: 31.91 kB / 0.6119 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.1317, allocations: 86.64 kB / 0.612 GB, free: 3.988 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.1318, allocations: 61.36 kB / 0.612 GB, free: 3.918 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.167e-05/0.1318, allocations: 20.86 kB / 0.612 GB, free: 3.895 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.1319, allocations: 27.97 kB / 0.6121 GB, free: 3.867 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1319, allocations: 34.56 kB / 0.6121 GB, free: 3.824 MB / 0.573 GB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.1319, allocations: 0 / 0.6121 GB, free: 3.824 MB / 0.573 GB Notification: Performance of matching and sorting (n=19): time 0.0008556/0.1328, allocations: 496.7 kB / 0.6126 GB, free: 3.309 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.1328, allocations: 59.41 kB / 0.6126 GB, free: 3.238 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.855e-05/0.1328, allocations: 110.6 kB / 0.6127 GB, free: 3.117 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1328, allocations: 25.7 kB / 0.6128 GB, free: 3.086 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.1329, allocations: 88.52 kB / 0.6129 GB, free: 2.996 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.1329, allocations: 67.36 kB / 0.6129 GB, free: 2.93 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1329, allocations: 45.69 kB / 0.613 GB, free: 2.879 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.133, allocations: 322.8 kB / 0.6133 GB, free: 2.555 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.133, allocations: 12 kB / 0.6133 GB, free: 2.543 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.1331, allocations: 51.39 kB / 0.6133 GB, free: 2.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/0.1331, allocations: 82.14 kB / 0.6134 GB, free: 2.387 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1331, allocations: 0 / 0.6134 GB, free: 2.387 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001051/0.1332, allocations: 113.5 kB / 0.6135 GB, free: 2.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.1332, allocations: 8.125 kB / 0.6135 GB, free: 2.262 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1332, allocations: 4 kB / 0.6135 GB, free: 2.258 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1333, allocations: 0 / 0.6135 GB, free: 2.258 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.139e-05/0.1333, allocations: 39.92 kB / 0.6136 GB, free: 2.219 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.1334, allocations: 4 kB / 0.6136 GB, free: 2.215 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.1334, allocations: 4 kB / 0.6136 GB, free: 2.211 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1334, allocations: 4 kB / 0.6136 GB, free: 2.207 MB / 0.573 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.606e-05/0.1334, allocations: 124.6 kB / 0.6137 GB, free: 2.074 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.1335, allocations: 15.92 kB / 0.6137 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.1335, allocations: 20.47 kB / 0.6137 GB, free: 2.043 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1335, allocations: 4 kB / 0.6137 GB, free: 2.039 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1335, allocations: 0 / 0.6137 GB, free: 2.039 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1335, allocations: 0 / 0.6137 GB, free: 2.039 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.179e-05/0.1336, allocations: 89.88 kB / 0.6138 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1336, allocations: 0 / 0.6138 GB, free: 1.934 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1337, allocations: 43.92 kB / 0.6139 GB, free: 1.891 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1337, allocations: 3.938 kB / 0.6139 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1337, allocations: 8.125 kB / 0.6139 GB, free: 1.879 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.1337, allocations: 3.938 kB / 0.6139 GB, free: 1.875 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1337, allocations: 0 / 0.6139 GB, free: 1.875 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.1338, allocations: 161.7 kB / 0.614 GB, free: 1.699 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.005e-05/0.1339, allocations: 11.98 kB / 0.614 GB, free: 1.688 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.1339, allocations: 3.938 kB / 0.614 GB, free: 1.684 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.329e-05/0.1339, allocations: 8 kB / 0.6141 GB, free: 1.676 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1339, allocations: 19.92 kB / 0.6141 GB, free: 1.656 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1339, allocations: 0 / 0.6141 GB, free: 1.656 MB / 0.573 GB Notification: Performance of sorting global known variables: time 7.033e-06/0.1339, allocations: 8.859 kB / 0.6141 GB, free: 1.645 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1339, allocations: 0 / 0.6141 GB, free: 1.645 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001155/0.1341, allocations: 32 kB / 0.6141 GB, free: 1.613 MB / 0.573 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.0003553/0.1344, allocations: 92.44 kB / 0.6142 GB, free: 1.512 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.193e-05/0.1345, allocations: 72.77 kB / 0.6143 GB, free: 1.438 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1345, allocations: 0 / 0.6143 GB, free: 1.438 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.1345, allocations: 52.75 kB / 0.6143 GB, free: 1.383 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.1347, allocations: 28.39 kB / 0.6143 GB, free: 1.355 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.1352, allocations: 331.3 kB / 0.6147 GB, free: 1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.1352, allocations: 72.08 kB / 0.6147 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.936e-05/0.1353, allocations: 20.62 kB / 0.6148 GB, free: 0.8906 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-05/0.1354, allocations: 87.34 kB / 0.6148 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of SimCode: time 8.72e-07/0.1354, allocations: 0 / 0.6148 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of Templates: time 0.002975/0.1383, allocations: 1.61 MB / 0.6164 GB, free: 15.24 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.812254350166768]