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.001118/0.001118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001187, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1332/0.1332, allocations: 2.761 MB / 293.1 MB, free: 3.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 75.89 kB / 354.4 MB, free: 4.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1118, allocations: 50.23 MB / 404.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.008347/0.1202, allocations: 7.515 MB / 412.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.1206, allocations: 0.5565 MB / 412.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.1207, allocations: 4 kB / 412.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.1209, allocations: 59.67 kB / 412.8 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.16e-05/0.1209, allocations: 23.84 kB / 412.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.1211, allocations: 27.78 kB / 412.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.1212, allocations: 35.69 kB / 412.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.1212, allocations: 3.984 kB / 412.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.497e-05/0.1212, allocations: 11.94 kB / 412.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.1213, allocations: 11.92 kB / 412.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1213, allocations: 4 kB / 412.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1215, allocations: 39.94 kB / 412.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.1215, allocations: 0 / 412.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.1216, allocations: 15.88 kB / 412.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1217, allocations: 51.88 kB / 413 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1217, allocations: 0 / 413 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1217, allocations: 0 / 413 MB, free: 9.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1217, allocations: 0 / 413 MB, free: 9.703 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.000312/0.1221, allocations: 335.4 kB / 413.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1221, allocations: 8.031 kB / 413.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.1222, allocations: 0.9375 kB / 413.3 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.628e-05/0.1223, allocations: 176.3 kB / 413.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1223, allocations: 4.375 kB / 413.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.1223, allocations: 384 / 413.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1224, allocations: 61.77 kB / 413.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1225, allocations: 0 / 413.6 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1225, allocations: 3.984 kB / 413.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1225, allocations: 4 kB / 413.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.571e-05/0.1225, allocations: 23.98 kB / 413.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.1227, allocations: 169.6 kB / 413.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.1228, allocations: 54.58 kB / 413.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.1228, allocations: 40.81 kB / 413.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1228, allocations: 7.875 kB / 413.9 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.1229, allocations: 34.56 kB / 413.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.1229, allocations: 0 / 413.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0001948/0.1231, allocations: 121.5 kB / 414 MB, free: 8.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1231, allocations: 51.41 kB / 414.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.791e-05/0.1232, allocations: 97.89 kB / 414.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1232, allocations: 25.7 kB / 414.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.1232, allocations: 80.38 kB / 414.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.1232, allocations: 47.28 kB / 414.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.1233, allocations: 17.7 kB / 414.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.1234, allocations: 318.8 kB / 414.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.1234, allocations: 23.98 kB / 414.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.1234, allocations: 23.94 kB / 414.7 MB, free: 7.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.755e-05/0.1235, allocations: 68.86 kB / 414.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1235, allocations: 0 / 414.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.457e-05/0.1236, allocations: 93.25 kB / 414.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1236, allocations: 4 kB / 414.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1237, allocations: 0 / 414.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1237, allocations: 0 / 414.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1237, allocations: 0 / 414.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1237, allocations: 7.984 kB / 414.9 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.1237, allocations: 7.844 kB / 414.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1237, allocations: 0 / 414.9 MB, free: 7.609 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 6.321e-05/0.1238, allocations: 117.9 kB / 415 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.1238, allocations: 3.938 kB / 415 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.1238, allocations: 4.094 kB / 415 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1238, allocations: 3.938 kB / 415 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1239, allocations: 0 / 415 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1239, allocations: 0 / 415 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.124, allocations: 173.6 kB / 415.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.124, allocations: 0 / 415.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.124, allocations: 3.938 kB / 415.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.124, allocations: 0 / 415.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.124, allocations: 4 kB / 415.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.124, allocations: 0 / 415.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.124, allocations: 7.938 kB / 415.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.1241, allocations: 113 kB / 415.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.1242, allocations: 84.98 kB / 415.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1242, allocations: 4 kB / 415.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.1242, allocations: 7.984 kB / 415.4 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.1242, allocations: 4.031 kB / 415.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.1242, allocations: 0 / 415.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.399e-05/0.1243, allocations: 75.28 kB / 415.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1243, allocations: 0 / 415.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001963/0.1245, allocations: 12 kB / 415.5 MB, free: 6.91 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.000239/0.1247, allocations: 139.5 kB / 415.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.1248, allocations: 59.98 kB / 415.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1249, allocations: 0 / 415.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.1249, allocations: 32 kB / 415.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1253, allocations: 32.08 kB / 415.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.1256, allocations: 193.3 kB / 415.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.1258, allocations: 0.6885 MB / 416.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.928e-05/0.1258, allocations: 3.984 kB / 416.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-06/0.1258, allocations: 7.438 kB / 416.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1258, allocations: 0 / 416.6 MB, free: 5.707 MB / 350.1 MB Notification: Performance of Templates: time 0.003554/0.1294, allocations: 1.303 MB / 417.9 MB, free: 4.418 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)