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.001588/0.001588, allocations: 105 kB / 16.35 MB, free: 5.824 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.001741/0.001741, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01153/0.01153, allocations: 2.776 MB / 293.9 MB, free: 12 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 355.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.226, allocations: 50.24 MB / 406.1 MB, free: 32.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.006416/0.2324, allocations: 7.506 MB / 413.6 MB, free: 25.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.2327, allocations: 0.576 MB / 414.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.2328, allocations: 0 / 414.2 MB, free: 24.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.233, allocations: 67.59 kB / 414.2 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 1.608e-05/0.233, allocations: 15.86 kB / 414.2 MB, free: 24.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.2331, allocations: 31.77 kB / 414.3 MB, free: 24.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.2332, allocations: 31.75 kB / 414.3 MB, free: 24.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.2333, allocations: 7.984 kB / 414.3 MB, free: 24.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.076e-05/0.2333, allocations: 15.92 kB / 414.3 MB, free: 24.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.2333, allocations: 7.938 kB / 414.3 MB, free: 24.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.2333, allocations: 7.938 kB / 414.3 MB, free: 24.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.2335, allocations: 32 kB / 414.4 MB, free: 24.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.2335, allocations: 0 / 414.4 MB, free: 24.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.2336, allocations: 15.88 kB / 414.4 MB, free: 24.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.2337, allocations: 51.88 kB / 414.4 MB, free: 24.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2337, allocations: 0 / 414.4 MB, free: 24.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2337, allocations: 0 / 414.4 MB, free: 24.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2337, allocations: 0 / 414.4 MB, free: 24.42 MB / 302.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.0002801/0.234, allocations: 341.2 kB / 414.8 MB, free: 24.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.2341, allocations: 8.031 kB / 414.8 MB, free: 24.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.2341, allocations: 0.9375 kB / 414.8 MB, free: 24.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.144e-05/0.2342, allocations: 172.3 kB / 414.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.2342, allocations: 4.375 kB / 414.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.2342, allocations: 384 / 414.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.495e-05/0.2343, allocations: 53.83 kB / 415 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.2343, allocations: 3.938 kB / 415 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.2343, allocations: 0 / 415 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.2343, allocations: 11.97 kB / 415 MB, free: 23.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.854e-05/0.2344, allocations: 31.94 kB / 415 MB, free: 23.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001023/0.2345, allocations: 173.5 kB / 415.2 MB, free: 23.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.749e-05/0.2345, allocations: 50.58 kB / 415.3 MB, free: 23.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.2346, allocations: 36.88 kB / 415.3 MB, free: 23.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.2346, allocations: 3.938 kB / 415.3 MB, free: 23.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.2346, allocations: 30.56 kB / 415.3 MB, free: 23.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.2346, allocations: 4 kB / 415.3 MB, free: 23.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0001562/0.2348, allocations: 125.5 kB / 415.5 MB, free: 23.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.2348, allocations: 51.41 kB / 415.5 MB, free: 23.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.453e-05/0.2348, allocations: 89.86 kB / 415.6 MB, free: 23.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-06/0.2348, allocations: 25.7 kB / 415.6 MB, free: 23.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.155e-05/0.2348, allocations: 80.38 kB / 415.7 MB, free: 22.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.2349, allocations: 51.22 kB / 415.8 MB, free: 22.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.2349, allocations: 21.7 kB / 415.8 MB, free: 22.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.235, allocations: 322.9 kB / 416.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.235, allocations: 19.98 kB / 416.1 MB, free: 22.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.235, allocations: 26.38 kB / 416.1 MB, free: 22.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/0.2351, allocations: 64.83 kB / 416.2 MB, free: 22.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2351, allocations: 0 / 416.2 MB, free: 22.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.43e-05/0.2352, allocations: 93.81 kB / 416.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2352, allocations: 4 kB / 416.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2352, allocations: 0 / 416.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2352, allocations: 4 kB / 416.3 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.2352, allocations: 4.062 kB / 416.3 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2352, allocations: 0 / 416.3 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.2353, allocations: 3.906 kB / 416.3 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.2353, allocations: 7.969 kB / 416.3 MB, free: 22.32 MB / 302.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 4.606e-05/0.2353, allocations: 113.8 kB / 416.4 MB, free: 22.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.2353, allocations: 3.938 kB / 416.4 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.2354, allocations: 4.094 kB / 416.4 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2354, allocations: 0 / 416.4 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2354, allocations: 0 / 416.4 MB, free: 22.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2354, allocations: 8 kB / 416.4 MB, free: 22.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.129e-05/0.2355, allocations: 173.5 kB / 416.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2355, allocations: 0 / 416.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/0.2355, allocations: 3.938 kB / 416.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2355, allocations: 0 / 416.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.2355, allocations: 0 / 416.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2355, allocations: 4 kB / 416.6 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2355, allocations: 3.938 kB / 416.6 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.216e-05/0.2356, allocations: 119.5 kB / 416.7 MB, free: 21.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.2356, allocations: 85.08 kB / 416.8 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.2356, allocations: 8 kB / 416.8 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.2357, allocations: 0 / 416.8 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.2357, allocations: 3.984 kB / 416.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.2357, allocations: 0 / 416.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.093e-05/0.2357, allocations: 75.28 kB / 416.9 MB, free: 21.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.2357, allocations: 0 / 416.9 MB, free: 21.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001872/0.2359, allocations: 15.94 kB / 416.9 MB, free: 21.61 MB / 302.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.000222/0.2361, allocations: 117.9 kB / 417 MB, free: 21.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.816e-05/0.2362, allocations: 71.97 kB / 417.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2362, allocations: 0 / 417.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.2363, allocations: 40 kB / 417.1 MB, free: 21.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2366, allocations: 23.97 kB / 417.2 MB, free: 21.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.2369, allocations: 201.2 kB / 417.4 MB, free: 21.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.405e-05/0.237, allocations: 0.6884 MB / 418.1 MB, free: 20.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.563e-05/0.237, allocations: 3.984 kB / 418.1 MB, free: 20.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-06/0.237, allocations: 7.438 kB / 418.1 MB, free: 20.41 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.237, allocations: 0 / 418.1 MB, free: 20.41 MB / 302.1 MB Notification: Performance of Templates: time 0.003399/0.2404, allocations: 1.308 MB / 419.4 MB, free: 19.12 MB / 302.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 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1)