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.00142/0.00142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00169/0.00169, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1458/0.1458, allocations: 2.769 MB / 292.8 MB, free: 3.754 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.91 kB / 353.9 MB, free: 4.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09771, allocations: 50.24 MB / 404.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.007753/0.1055, allocations: 7.527 MB / 411.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003871/0.1059, allocations: 0.5566 MB / 412.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.598e-05/0.1059, allocations: 0 / 412.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1061, allocations: 59.73 kB / 412.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.724e-05/0.1062, allocations: 7.922 kB / 412.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001322/0.1063, allocations: 31.77 kB / 412.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.568e-05/0.1064, allocations: 39.75 kB / 412.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.505e-05/0.1065, allocations: 7.984 kB / 412.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.214e-05/0.1065, allocations: 7.938 kB / 412.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.1065, allocations: 19.86 kB / 412.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.1065, allocations: 0 / 412.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1067, allocations: 32 kB / 412.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.1067, allocations: 4 kB / 412.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.1067, allocations: 19.88 kB / 412.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.1069, allocations: 39.89 kB / 412.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1069, allocations: 7.984 kB / 412.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1069, allocations: 0 / 412.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1069, allocations: 0 / 412.5 MB, free: 10.21 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.0002996/0.1072, allocations: 339.4 kB / 412.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1072, allocations: 8.031 kB / 412.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.1073, allocations: 0.9375 kB / 412.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.1074, allocations: 172.3 kB / 413 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.1074, allocations: 384 / 413 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.1074, allocations: 8.344 kB / 413 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.1075, allocations: 57.83 kB / 413.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1075, allocations: 4 kB / 413.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.1075, allocations: 0 / 413.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1075, allocations: 3.984 kB / 413.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.1076, allocations: 27.94 kB / 413.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1077, allocations: 169.6 kB / 413.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.872e-05/0.1078, allocations: 50.52 kB / 413.3 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.1078, allocations: 40.88 kB / 413.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1079, allocations: 7.938 kB / 413.4 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1079, allocations: 30.56 kB / 413.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.1079, allocations: 0 / 413.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0001693/0.1081, allocations: 121.8 kB / 413.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1081, allocations: 55.34 kB / 413.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.482e-05/0.1082, allocations: 89.86 kB / 413.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.1082, allocations: 25.7 kB / 413.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.1082, allocations: 84.31 kB / 413.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.1083, allocations: 47.33 kB / 413.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.1083, allocations: 25.7 kB / 413.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.1084, allocations: 314.8 kB / 414.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.1084, allocations: 23.98 kB / 414.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.1085, allocations: 24 kB / 414.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.1085, allocations: 68.2 kB / 414.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1085, allocations: 0 / 414.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.065e-05/0.1086, allocations: 85.62 kB / 414.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1086, allocations: 4 kB / 414.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1087, allocations: 12 kB / 414.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.1087, allocations: 0 / 414.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.1087, allocations: 0 / 414.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1087, allocations: 0 / 414.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.1087, allocations: 7.844 kB / 414.4 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1087, allocations: 0 / 414.4 MB, free: 8.117 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 7.198e-05/0.1088, allocations: 113.8 kB / 414.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.1088, allocations: 3.938 kB / 414.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.109, allocations: 109.7 kB / 414.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.109, allocations: 4 kB / 414.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.109, allocations: 0 / 414.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.109, allocations: 0 / 414.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1091, allocations: 173.5 kB / 414.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1091, allocations: 3.984 kB / 414.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-06/0.1091, allocations: 3.938 kB / 414.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1091, allocations: 3.938 kB / 414.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.1091, allocations: 0 / 414.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1091, allocations: 7.922 kB / 414.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1091, allocations: 4.031 kB / 414.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.1093, allocations: 121.1 kB / 414.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.1093, allocations: 84.95 kB / 415 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-06/0.1093, allocations: 0 / 415 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.1093, allocations: 4 kB / 415 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.1094, allocations: 0 / 415 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1094, allocations: 4 kB / 415 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.771e-05/0.1094, allocations: 75.28 kB / 415.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1094, allocations: 4.031 kB / 415.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1096, allocations: 8 kB / 415.1 MB, free: 7.305 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.0002021/0.1098, allocations: 137.4 kB / 415.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.943e-05/0.1099, allocations: 63.92 kB / 415.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1099, allocations: 0 / 415.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.11, allocations: 39.98 kB / 415.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1103, allocations: 26.22 kB / 415.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.1106, allocations: 217.5 kB / 415.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1108, allocations: 0.6807 MB / 416.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.074e-05/0.1109, allocations: 7.984 kB / 416.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-06/0.1109, allocations: 11.44 kB / 416.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1109, allocations: 0 / 416.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.00333/0.1142, allocations: 1.286 MB / 417.5 MB, free: 4.805 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)