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.001216/0.001216, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001429/0.001429, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1288/0.1288, allocations: 2.79 MB / 293.8 MB, free: 4.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 8 kB / 355.5 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.119, allocations: 51.25 MB / 406.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.007246/0.1263, allocations: 5.019 MB / 411.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004257/0.1268, allocations: 466.9 kB / 412.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/0.1268, allocations: 0 / 412.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.1271, allocations: 59.84 kB / 412.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.477e-05/0.1271, allocations: 15.95 kB / 412.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.1272, allocations: 39.86 kB / 412.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.068e-05/0.1273, allocations: 23.95 kB / 412.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.369e-05/0.1274, allocations: 8 kB / 412.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.679e-05/0.1274, allocations: 19.86 kB / 412.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.1275, allocations: 11.94 kB / 412.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.1275, allocations: 0 / 412.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.1278, allocations: 55.98 kB / 412.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.1278, allocations: 3.938 kB / 412.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.1278, allocations: 29.7 kB / 412.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.393e-05/0.1279, allocations: 36.11 kB / 412.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1279, allocations: 0 / 412.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1279, allocations: 0 / 412.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1279, allocations: 0 / 412.5 MB, free: 11.24 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.0003302/0.1283, allocations: 345.7 kB / 412.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1283, allocations: 12.03 kB / 412.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1284, allocations: 0 / 412.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.1285, allocations: 163 kB / 413 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1285, allocations: 0 / 413 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.1286, allocations: 0 / 413 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1287, allocations: 53.69 kB / 413.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.1287, allocations: 0 / 413.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1287, allocations: 7.938 kB / 413.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1287, allocations: 8 kB / 413.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.1287, allocations: 23.98 kB / 413.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.1289, allocations: 173.5 kB / 413.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.129, allocations: 50.5 kB / 413.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.129, allocations: 0 / 413.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.129, allocations: 34.59 kB / 413.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 7.31e-07/0.129, allocations: 0 / 413.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003122/0.1293, allocations: 206.7 kB / 413.6 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1294, allocations: 55.36 kB / 413.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.777e-05/0.1294, allocations: 93.86 kB / 413.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1295, allocations: 25.7 kB / 413.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.1295, allocations: 84.36 kB / 413.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.1295, allocations: 43.3 kB / 413.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.1296, allocations: 0 / 413.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1297, allocations: 314.8 kB / 414.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.1297, allocations: 32.2 kB / 414.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.1297, allocations: 28 kB / 414.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.1298, allocations: 23.98 kB / 414.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1298, allocations: 0 / 414.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001122/0.1299, allocations: 85.69 kB / 414.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1299, allocations: 7.984 kB / 414.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.1299, allocations: 0 / 414.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1299, allocations: 3.938 kB / 414.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1299, allocations: 3.938 kB / 414.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.13, allocations: 0 / 414.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.13, allocations: 15.92 kB / 414.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.13, allocations: 0 / 414.4 MB, free: 9.156 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.417e-05/0.1301, allocations: 105.8 kB / 414.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.1301, allocations: 4 kB / 414.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.1303, allocations: 109.4 kB / 414.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1303, allocations: 0 / 414.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1303, allocations: 0 / 414.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1303, allocations: 0 / 414.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.1304, allocations: 181.5 kB / 414.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1304, allocations: 0 / 414.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1304, allocations: 0 / 414.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1304, allocations: 0 / 414.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.1304, allocations: 0 / 414.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1304, allocations: 0 / 414.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1304, allocations: 0 / 414.8 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.1306, allocations: 121 kB / 414.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.1307, allocations: 88.95 kB / 415 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.1307, allocations: 12.03 kB / 415 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.1308, allocations: 3.984 kB / 415 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.1308, allocations: 0 / 415 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.1308, allocations: 4 kB / 415 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.669e-05/0.1308, allocations: 75.28 kB / 415.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1308, allocations: 0 / 415.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.131, allocations: 8 kB / 415.1 MB, free: 8.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000368/0.1314, allocations: 126.5 kB / 415.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1315, allocations: 63.36 kB / 415.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1315, allocations: 0 / 415.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.289e-05/0.1316, allocations: 36 kB / 415.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.1319, allocations: 32.05 kB / 415.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.1322, allocations: 238.2 kB / 415.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.1326, allocations: 0.6848 MB / 416.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.1326, allocations: 7.984 kB / 416.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-06/0.1326, allocations: 7.438 kB / 416.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1326, allocations: 0 / 416.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of Templates: time 0.003675/0.1363, allocations: 1.147 MB / 417.4 MB, free: 5.988 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: