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.0008184/0.0008184, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0008624/0.0008624, allocations: 181.3 kB / 23.36 MB, free: 1.125 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.8752/0.8752, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.007814/0.007814, allocations: 1.996 MB / 262.3 MB, free: 10.95 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.243e-06/1.243e-06, allocations: 0 / 279.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.543e-05, allocations: 2.312 kB / 279.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.006131/0.006147, allocations: 7.696 MB / 287.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003177/0.006465, allocations: 0.5565 MB / 287.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.006485, allocations: 0 / 287.8 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.00665, allocations: 51.72 kB / 287.8 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.408e-05/0.006664, allocations: 15.86 kB / 287.8 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.006796, allocations: 35.69 kB / 287.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.006861, allocations: 35.69 kB / 287.9 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.006901, allocations: 7.984 kB / 287.9 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.006944, allocations: 15.92 kB / 287.9 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.007002, allocations: 12 kB / 287.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.007019, allocations: 0 / 287.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.007159, allocations: 31.94 kB / 288 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.007177, allocations: 7.938 kB / 288 MB, free: 1.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.007198, allocations: 15.98 kB / 288 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.007314, allocations: 43.83 kB / 288 MB, free: 1.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.007315, allocations: 0 / 288 MB, free: 1.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007317, allocations: 4 kB / 288 MB, free: 1.113 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.00732, allocations: 0 / 288 MB, free: 1.113 MB / 266.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.0002316/0.007551, allocations: 232.9 kB / 288.3 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.007586, allocations: 12.03 kB / 288.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.00761, allocations: 8.922 kB / 288.3 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.128e-05/0.007672, allocations: 113.7 kB / 288.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.007681, allocations: 384 / 288.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.007691, allocations: 384 / 288.4 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.007772, allocations: 37.09 kB / 288.4 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.00778, allocations: 192 / 288.4 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.007788, allocations: 4.125 kB / 288.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.007796, allocations: 3.984 kB / 288.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.00781, allocations: 11.94 kB / 288.5 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.418e-05/0.007885, allocations: 70.64 kB / 288.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.833e-05/0.007923, allocations: 26.58 kB / 288.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.007938, allocations: 12.89 kB / 288.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.007958, allocations: 0 / 288.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.007978, allocations: 34.56 kB / 288.6 MB, free: 476 kB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 6.61e-07/0.007978, allocations: 0 / 288.6 MB, free: 476 kB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001096/0.008088, allocations: 77 kB / 288.7 MB, free: 396 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.008208, allocations: 51.41 kB / 288.7 MB, free: 332 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.631e-05/0.008235, allocations: 93.8 kB / 288.8 MB, free: 228 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.008243, allocations: 29.7 kB / 288.8 MB, free: 192 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.815e-05/0.008262, allocations: 80.38 kB / 288.9 MB, free: 108 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.008306, allocations: 47.61 kB / 289 MB, free: 60 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.008327, allocations: 21.7 kB / 289 MB, free: 32 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.1201/0.1284, allocations: 320.8 kB / 289.3 MB, free: 20.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.606e-05/0.1284, allocations: 8.172 kB / 289.3 MB, free: 20.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.1284, allocations: 8.688 kB / 289.3 MB, free: 20.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.1285, allocations: 28.22 kB / 289.3 MB, free: 20.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1285, allocations: 0 / 289.3 MB, free: 20.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.905e-05/0.1286, allocations: 61.48 kB / 289.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1286, allocations: 5.75 kB / 289.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1286, allocations: 0.5469 kB / 289.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1286, allocations: 0.875 kB / 289.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-06/0.1286, allocations: 2.766 kB / 289.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.1286, allocations: 1.359 kB / 289.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.1286, allocations: 10.2 kB / 289.4 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1286, allocations: 0.6562 kB / 289.4 MB, free: 20.27 MB / 266.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 3.742e-05/0.1287, allocations: 112.2 kB / 289.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-06/0.1287, allocations: 1.172 kB / 289.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.1287, allocations: 8.016 kB / 289.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1287, allocations: 2.719 kB / 289.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.1287, allocations: 0 / 289.5 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1287, allocations: 4.453 kB / 289.6 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.683e-05/0.1288, allocations: 75.92 kB / 289.6 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1288, allocations: 0.5625 kB / 289.6 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.1288, allocations: 2.844 kB / 289.6 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.1288, allocations: 0.6562 kB / 289.6 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.1288, allocations: 2.188 kB / 289.6 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1288, allocations: 1.375 kB / 289.6 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1288, allocations: 0.9844 kB / 289.6 MB, free: 20.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.179e-05/0.1288, allocations: 96.53 kB / 289.7 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.1288, allocations: 7.625 kB / 289.7 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-06/0.1289, allocations: 0.5625 kB / 289.7 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.1289, allocations: 2.875 kB / 289.7 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.1289, allocations: 1.578 kB / 289.7 MB, free: 20.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1289, allocations: 6.484 kB / 289.7 MB, free: 20 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.34e-06/0.1289, allocations: 5.922 kB / 289.8 MB, free: 20 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1289, allocations: 3.594 kB / 289.8 MB, free: 20 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001016/0.129, allocations: 12.39 kB / 289.8 MB, free: 20 MB / 266.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.0002669/0.1292, allocations: 125.2 kB / 289.9 MB, free: 19.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.523e-05/0.1293, allocations: 29.2 kB / 289.9 MB, free: 19.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1293, allocations: 1.188 kB / 289.9 MB, free: 19.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/0.1293, allocations: 17.12 kB / 289.9 MB, free: 19.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.1295, allocations: 35.75 kB / 290 MB, free: 19.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.1299, allocations: 192.7 kB / 290.2 MB, free: 19.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.13, allocations: 66.14 kB / 290.2 MB, free: 19.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.728e-05/0.13, allocations: 0.6562 kB / 290.2 MB, free: 19.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/0.13, allocations: 61.28 kB / 290.3 MB, free: 19.67 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.13, allocations: 0 / 290.3 MB, free: 19.67 MB / 266.7 MB Notification: Performance of Templates: time 0.003097/0.1331, allocations: 1.653 MB / 291.9 MB, free: 19.5 MB / 266.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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4405208732932806]