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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 105.9 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 198.7 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.6 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1398/0.1398, allocations: 2.762 MB / 293.5 MB, free: 3.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.89 kB / 354.6 MB, free: 4.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 50.23 MB / 404.8 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.009237/0.1332, allocations: 7.542 MB / 412.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000463/0.1337, allocations: 0.545 MB / 412.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.1337, allocations: 4 kB / 412.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.1339, allocations: 63.67 kB / 412.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.134, allocations: 15.91 kB / 412.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.1342, allocations: 19.84 kB / 413 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.959e-05/0.1343, allocations: 39.67 kB / 413 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.1343, allocations: 7.984 kB / 413 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.1344, allocations: 11.94 kB / 413 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.1344, allocations: 11.94 kB / 413 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1344, allocations: 4 kB / 413 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1346, allocations: 39.94 kB / 413.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1346, allocations: 3.938 kB / 413.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.1347, allocations: 19.88 kB / 413.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.1348, allocations: 27.94 kB / 413.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1348, allocations: 0 / 413.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1348, allocations: 0 / 413.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1348, allocations: 0 / 413.1 MB, free: 10.06 MB / 350.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.0003972/0.1352, allocations: 343.4 kB / 413.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1353, allocations: 8.031 kB / 413.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1353, allocations: 4.938 kB / 413.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1354, allocations: 172.3 kB / 413.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1354, allocations: 384 / 413.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1354, allocations: 4.312 kB / 413.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1356, allocations: 49.83 kB / 413.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1356, allocations: 3.984 kB / 413.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.1356, allocations: 0 / 413.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1356, allocations: 4 kB / 413.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.1356, allocations: 20 kB / 413.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.1358, allocations: 173.6 kB / 413.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.553e-05/0.1359, allocations: 50.58 kB / 413.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.136, allocations: 40.81 kB / 414 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.136, allocations: 3.938 kB / 414 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.136, allocations: 38.56 kB / 414 MB, free: 9.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.136, allocations: 0 / 414 MB, free: 9.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002017/0.1362, allocations: 117.6 kB / 414.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1363, allocations: 63.38 kB / 414.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.1364, allocations: 89.86 kB / 414.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1364, allocations: 25.7 kB / 414.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.1364, allocations: 80.38 kB / 414.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.414e-05/0.1365, allocations: 47.28 kB / 414.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.1365, allocations: 17.7 kB / 414.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1366, allocations: 318.8 kB / 414.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.1367, allocations: 27.92 kB / 414.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.1367, allocations: 24.25 kB / 414.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.29e-05/0.1368, allocations: 72.33 kB / 414.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1368, allocations: 0 / 414.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000113/0.1369, allocations: 85.62 kB / 415 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1369, allocations: 4 kB / 415 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1369, allocations: 0 / 415 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.137, allocations: 0 / 415 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-06/0.137, allocations: 7.984 kB / 415 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.137, allocations: 0 / 415 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.137, allocations: 7.844 kB / 415 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.137, allocations: 8 kB / 415 MB, free: 7.969 MB / 350.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 9.2e-05/0.1371, allocations: 117.8 kB / 415.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.1371, allocations: 3.938 kB / 415.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.1373, allocations: 97.67 kB / 415.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1373, allocations: 4 kB / 415.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1373, allocations: 0 / 415.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1373, allocations: 0 / 415.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.1374, allocations: 177.5 kB / 415.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1375, allocations: 4.031 kB / 415.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-06/0.1375, allocations: 7.938 kB / 415.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1375, allocations: 0 / 415.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.1375, allocations: 0 / 415.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1375, allocations: 0 / 415.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1375, allocations: 0 / 415.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1376, allocations: 117.1 kB / 415.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.1377, allocations: 88.95 kB / 415.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.1377, allocations: 0 / 415.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.1377, allocations: 4.031 kB / 415.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1377, allocations: 7.922 kB / 415.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.1377, allocations: 0 / 415.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.196e-05/0.1378, allocations: 79.27 kB / 415.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1378, allocations: 4 kB / 415.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001971/0.138, allocations: 8 kB / 415.7 MB, free: 7.164 MB / 350.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.000366/0.1384, allocations: 128.2 kB / 415.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.1385, allocations: 63.97 kB / 415.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1385, allocations: 0 / 415.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.1386, allocations: 39.88 kB / 415.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.139, allocations: 32.08 kB / 416 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.1394, allocations: 247 kB / 416.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1397, allocations: 0.6846 MB / 416.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.093e-05/0.1397, allocations: 7.438 kB / 416.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1397, allocations: 0 / 416.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of Templates: time 0.002079/0.1418, allocations: 0.7614 MB / 417.7 MB, free: 5.148 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile (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)