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.001283/0.001283, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.00141/0.00141, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8234/0.8234, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.007037/0.007037, allocations: 1.981 MB / 261.9 MB, free: 11.29 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 385.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.464e-05, allocations: 5.234 kB / 385.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.005399/0.005414, allocations: 6.978 MB / 392.9 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002403/0.005654, allocations: 498.1 kB / 393.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.005672, allocations: 0 / 393.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.00582, allocations: 55.66 kB / 393.4 MB, free: 3.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.502e-05/0.005835, allocations: 19.84 kB / 393.4 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.005947, allocations: 35.7 kB / 393.5 MB, free: 3.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.006002, allocations: 35.69 kB / 393.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.006036, allocations: 0 / 393.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.00607, allocations: 11.98 kB / 393.5 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.719e-05/0.006107, allocations: 11.94 kB / 393.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.006125, allocations: 0 / 393.5 MB, free: 3.781 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.006244, allocations: 39.98 kB / 393.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.006259, allocations: 15.86 kB / 393.6 MB, free: 3.727 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.006279, allocations: 8 kB / 393.6 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.006385, allocations: 43.89 kB / 393.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.006387, allocations: 0 / 393.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006388, allocations: 3.938 kB / 393.6 MB, free: 3.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.006391, allocations: 0 / 393.6 MB, free: 3.672 MB / 314.7 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.0002216/0.006613, allocations: 262.3 kB / 393.9 MB, free: 3.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.006641, allocations: 8.031 kB / 393.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.006668, allocations: 4.891 kB / 393.9 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.086e-05/0.006719, allocations: 109.7 kB / 394 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.006727, allocations: 384 / 394 MB, free: 3.242 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-06/0.006735, allocations: 8.359 kB / 394 MB, free: 3.234 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.006819, allocations: 54.25 kB / 394.1 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.006825, allocations: 192 / 394.1 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.006833, allocations: 4.125 kB / 394.1 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.006838, allocations: 4 kB / 394.1 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.006863, allocations: 31.92 kB / 394.1 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.305e-05/0.006956, allocations: 117.2 kB / 394.2 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.006998, allocations: 38.58 kB / 394.3 MB, free: 2.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.007018, allocations: 28.88 kB / 394.3 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.007038, allocations: 4 kB / 394.3 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.007054, allocations: 34.56 kB / 394.3 MB, free: 2.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 5.91e-07/0.007055, allocations: 0 / 394.3 MB, free: 2.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001497/0.007204, allocations: 129.8 kB / 394.4 MB, free: 2.734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.007231, allocations: 55.41 kB / 394.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.225e-05/0.007253, allocations: 89.86 kB / 394.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.007261, allocations: 25.7 kB / 394.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.007277, allocations: 84.38 kB / 394.7 MB, free: 2.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.007314, allocations: 47.53 kB / 394.7 MB, free: 2.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.007335, allocations: 13.72 kB / 394.8 MB, free: 2.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.007401, allocations: 322.8 kB / 395.1 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.007427, allocations: 27.98 kB / 395.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.007442, allocations: 28.03 kB / 395.1 MB, free: 2.008 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.826e-05/0.00749, allocations: 68.22 kB / 395.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.007492, allocations: 0 / 395.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.209e-05/0.007554, allocations: 93.56 kB / 395.3 MB, free: 1.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.007564, allocations: 8 kB / 395.3 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007569, allocations: 0 / 395.3 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.007579, allocations: 0 / 395.3 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-06/0.007581, allocations: 7.875 kB / 395.3 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.007585, allocations: 0 / 395.3 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.007601, allocations: 0 / 395.3 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.007606, allocations: 7.938 kB / 395.3 MB, free: 1.82 MB / 314.7 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 4.344e-05/0.00765, allocations: 117.9 kB / 395.4 MB, free: 1.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-06/0.007654, allocations: 3.953 kB / 395.4 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.00768, allocations: 7.969 kB / 395.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.007683, allocations: 0 / 395.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.007687, allocations: 3.938 kB / 395.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.007689, allocations: 0 / 395.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.142e-05/0.00774, allocations: 117.2 kB / 395.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.007741, allocations: 0 / 395.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-07/0.007741, allocations: 0 / 395.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.007742, allocations: 4 kB / 395.6 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-06/0.007746, allocations: 4 kB / 395.6 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.007746, allocations: 0 / 395.6 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.6e-07/0.007747, allocations: 0 / 395.6 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.078e-05/0.007817, allocations: 124.9 kB / 395.7 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.007826, allocations: 11.94 kB / 395.7 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-06/0.007832, allocations: 0 / 395.7 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-06/0.007842, allocations: 4 kB / 395.7 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.007852, allocations: 3.938 kB / 395.7 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.007853, allocations: 0 / 395.7 MB, free: 1.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.666e-05/0.007869, allocations: 79.28 kB / 395.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007869, allocations: 0 / 395.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001278/0.007997, allocations: 12.03 kB / 395.8 MB, free: 1.273 MB / 314.7 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.0001771/0.008174, allocations: 131 kB / 395.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.039e-05/0.008255, allocations: 59.98 kB / 396 MB, free: 1.086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.008256, allocations: 0 / 396 MB, free: 1.086 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.008273, allocations: 35.86 kB / 396 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.008467, allocations: 27.97 kB / 396 MB, free: 1.023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.008701, allocations: 222.2 kB / 396.3 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.008736, allocations: 71.28 kB / 396.3 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-06/0.008745, allocations: 12.5 kB / 396.3 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.008745, allocations: 0 / 396.3 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of Templates: time 0.001344/0.01009, allocations: 0.7888 MB / 397.1 MB, free: 15.88 MB / 330.7 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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.6589589826762676] Failed to read output from testmodel.py, exit status != 0: 0.014374434016644955 0.022149951 0.014201949 Calling exit ...