Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.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.001489/0.001489, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.001465/0.001465, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01269/0.01269, allocations: 2 MB / 261.8 MB, free: 14.65 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 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(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") [Timeout 660] "Notification: ExternalMedia 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.002095/0.002095, allocations: 67.89 kB / 385.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1031, allocations: 54.14 MB / 439.8 MB, free: 12.19 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.009049/0.1121, allocations: 7.005 MB / 446.8 MB, free: 5.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004958/0.1126, allocations: 490.2 kB / 447.3 MB, free: 4.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.1127, allocations: 0 / 447.3 MB, free: 4.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.1129, allocations: 55.66 kB / 447.3 MB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.312e-05/0.1129, allocations: 15.86 kB / 447.3 MB, free: 4.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.113, allocations: 35.75 kB / 447.4 MB, free: 4.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.926e-05/0.1131, allocations: 27.75 kB / 447.4 MB, free: 4.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.1131, allocations: 7.984 kB / 447.4 MB, free: 4.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.1132, allocations: 11.94 kB / 447.4 MB, free: 4.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.1132, allocations: 15.88 kB / 447.4 MB, free: 4.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1132, allocations: 0 / 447.4 MB, free: 4.496 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.1134, allocations: 40 kB / 447.5 MB, free: 4.457 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.1134, allocations: 0 / 447.5 MB, free: 4.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1134, allocations: 19.86 kB / 447.5 MB, free: 4.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1136, allocations: 55.81 kB / 447.5 MB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1136, allocations: 0 / 447.5 MB, free: 4.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1136, allocations: 3.938 kB / 447.5 MB, free: 4.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.1136, allocations: 0 / 447.5 MB, free: 4.379 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003138/0.1139, allocations: 262.2 kB / 447.8 MB, free: 4.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.1139, allocations: 8.031 kB / 447.8 MB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.114, allocations: 4.938 kB / 447.8 MB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.1141, allocations: 114.4 kB / 447.9 MB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1141, allocations: 384 / 447.9 MB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1141, allocations: 8.344 kB / 447.9 MB, free: 3.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1142, allocations: 53.83 kB / 448 MB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1142, allocations: 0 / 448 MB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1142, allocations: 4 kB / 448 MB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1142, allocations: 3.984 kB / 448 MB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.1142, allocations: 24 kB / 448 MB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.1144, allocations: 113.3 kB / 448.1 MB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.996e-05/0.1144, allocations: 50.5 kB / 448.2 MB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.1145, allocations: 28.89 kB / 448.2 MB, free: 3.617 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1145, allocations: 4 kB / 448.2 MB, free: 3.613 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.1145, allocations: 38.48 kB / 448.2 MB, free: 3.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.1145, allocations: 0 / 448.2 MB, free: 3.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002024/0.1147, allocations: 125.8 kB / 448.4 MB, free: 3.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.1148, allocations: 55.39 kB / 448.4 MB, free: 3.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.1149, allocations: 89.86 kB / 448.5 MB, free: 3.273 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1149, allocations: 25.7 kB / 448.5 MB, free: 3.242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.1149, allocations: 80.38 kB / 448.6 MB, free: 3.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.115, allocations: 47.52 kB / 448.7 MB, free: 3.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.115, allocations: 21.75 kB / 448.7 MB, free: 3.086 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1151, allocations: 318.8 kB / 449 MB, free: 2.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.1152, allocations: 24 kB / 449 MB, free: 2.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.1152, allocations: 27.98 kB / 449 MB, free: 2.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.536e-05/0.1153, allocations: 68.72 kB / 449.1 MB, free: 2.648 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1153, allocations: 0 / 449.1 MB, free: 2.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001271/0.1154, allocations: 93.56 kB / 449.2 MB, free: 2.551 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1154, allocations: 11.94 kB / 449.2 MB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1154, allocations: 0 / 449.2 MB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1155, allocations: 0 / 449.2 MB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-07/0.1155, allocations: 4.062 kB / 449.2 MB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.1155, allocations: 0 / 449.2 MB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.1155, allocations: 4 kB / 449.2 MB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1155, allocations: 4 kB / 449.2 MB, free: 2.527 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.474e-05/0.1156, allocations: 105.8 kB / 449.3 MB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.1156, allocations: 7.891 kB / 449.3 MB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.1156, allocations: 7.969 kB / 449.3 MB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1156, allocations: 7.922 kB / 449.4 MB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1156, allocations: 0 / 449.4 MB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.1156, allocations: 0 / 449.4 MB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1157, allocations: 121.2 kB / 449.5 MB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1157, allocations: 4 kB / 449.5 MB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-06/0.1157, allocations: 4 kB / 449.5 MB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1157, allocations: 0 / 449.5 MB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1157, allocations: 3.938 kB / 449.5 MB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1157, allocations: 4 kB / 449.5 MB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1157, allocations: 0 / 449.5 MB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.1159, allocations: 125 kB / 449.6 MB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.1159, allocations: 7.953 kB / 449.6 MB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.1159, allocations: 3.938 kB / 449.6 MB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.74e-05/0.1159, allocations: 0 / 449.6 MB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.1159, allocations: 8.016 kB / 449.6 MB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1159, allocations: 0 / 449.6 MB, free: 2.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.116, allocations: 79.28 kB / 449.7 MB, free: 1.992 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.116, allocations: 0 / 449.7 MB, free: 1.992 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.1162, allocations: 15.88 kB / 449.7 MB, free: 1.977 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002759/0.1165, allocations: 136.7 kB / 449.9 MB, free: 1.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1166, allocations: 59.97 kB / 449.9 MB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1166, allocations: 0 / 449.9 MB, free: 1.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.948e-05/0.1166, allocations: 24 kB / 449.9 MB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.117, allocations: 35.97 kB / 450 MB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.1173, allocations: 190 kB / 450.2 MB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.79e-05/0.1174, allocations: 75.22 kB / 450.2 MB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.503e-05/0.1174, allocations: 4 kB / 450.2 MB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.1174, allocations: 12.5 kB / 450.2 MB, free: 1.406 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1174, allocations: 0 / 450.2 MB, free: 1.406 MB / 414.1 MB Notification: Performance of Templates: time 0.004247/0.1217, allocations: 1.376 MB / 451.6 MB, free: 68 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestSat -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.411732834996656] Failed to read output from testmodel.py, exit status != 0: 0.13019535993225873 0.145513513 0.028822309 Calling exit ...