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.001517/0.001517, allocations: 103.1 kB / 16.27 MB, free: 6.414 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.00172/0.00172, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01275/0.01275, allocations: 2.772 MB / 293.8 MB, free: 12.05 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 63.91 kB / 355.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2141, allocations: 50.23 MB / 405.3 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.006405/0.2206, allocations: 7.507 MB / 412.8 MB, free: 25.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.2209, allocations: 0.5721 MB / 413.4 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.2209, allocations: 0 / 413.4 MB, free: 24.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.2211, allocations: 67.61 kB / 413.5 MB, free: 24.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 1.591e-05/0.2212, allocations: 11.91 kB / 413.5 MB, free: 24.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.2213, allocations: 39.77 kB / 413.5 MB, free: 24.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.2214, allocations: 27.75 kB / 413.5 MB, free: 24.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.36e-05/0.2214, allocations: 7.984 kB / 413.5 MB, free: 24.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.2215, allocations: 11.94 kB / 413.6 MB, free: 24.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.2215, allocations: 7.938 kB / 413.6 MB, free: 24.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2215, allocations: 3.938 kB / 413.6 MB, free: 24.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.2217, allocations: 39.94 kB / 413.6 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.2217, allocations: 0 / 413.6 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.2217, allocations: 23.86 kB / 413.6 MB, free: 24.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.2219, allocations: 55.81 kB / 413.7 MB, free: 24.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2219, allocations: 0 / 413.7 MB, free: 24.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2219, allocations: 0 / 413.7 MB, free: 24.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.2219, allocations: 0 / 413.7 MB, free: 24.55 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.0002364/0.2221, allocations: 335.4 kB / 414 MB, free: 24.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.2222, allocations: 12.03 kB / 414 MB, free: 24.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.2222, allocations: 0.9375 kB / 414 MB, free: 24.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.069e-05/0.2223, allocations: 172.3 kB / 414.2 MB, free: 23.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2223, allocations: 384 / 414.2 MB, free: 23.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-06/0.2223, allocations: 8.375 kB / 414.2 MB, free: 23.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.313e-05/0.2224, allocations: 56.83 kB / 414.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2224, allocations: 0 / 414.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2224, allocations: 3.984 kB / 414.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2224, allocations: 4 kB / 414.3 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.2225, allocations: 20 kB / 414.3 MB, free: 23.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.854e-05/0.2226, allocations: 173.5 kB / 414.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.2226, allocations: 50.52 kB / 414.5 MB, free: 23.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.2227, allocations: 44.88 kB / 414.5 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2227, allocations: 3.938 kB / 414.5 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.2227, allocations: 34.56 kB / 414.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 8.41e-07/0.2227, allocations: 0 / 414.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0001541/0.2229, allocations: 113.6 kB / 414.7 MB, free: 23.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.2229, allocations: 59.34 kB / 414.7 MB, free: 23.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.464e-05/0.2229, allocations: 93.86 kB / 414.8 MB, free: 23.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.2229, allocations: 25.73 kB / 414.9 MB, free: 23.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-06/0.2229, allocations: 84.38 kB / 414.9 MB, free: 23.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.223, allocations: 47.23 kB / 415 MB, free: 23.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.223, allocations: 17.7 kB / 415 MB, free: 23.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.771e-05/0.223, allocations: 318.8 kB / 415.3 MB, free: 22.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.2231, allocations: 23.98 kB / 415.3 MB, free: 22.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.626e-05/0.2231, allocations: 20 kB / 415.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.2231, allocations: 64.83 kB / 415.4 MB, free: 22.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2232, allocations: 0 / 415.4 MB, free: 22.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.264e-05/0.2232, allocations: 96.66 kB / 415.5 MB, free: 22.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.709e-06/0.2233, allocations: 4 kB / 415.5 MB, free: 22.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2233, allocations: 0 / 415.5 MB, free: 22.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2233, allocations: 3.938 kB / 415.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.2233, allocations: 0 / 415.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2233, allocations: 3.984 kB / 415.5 MB, free: 22.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.2233, allocations: 7.906 kB / 415.5 MB, free: 22.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.2233, allocations: 0 / 415.5 MB, free: 22.47 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 3.944e-05/0.2234, allocations: 109.8 kB / 415.6 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.2234, allocations: 11.97 kB / 415.7 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.2234, allocations: 4.094 kB / 415.7 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2234, allocations: 0 / 415.7 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2234, allocations: 0 / 415.7 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2234, allocations: 7.922 kB / 415.7 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.579e-05/0.2235, allocations: 173.5 kB / 415.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2235, allocations: 4 kB / 415.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.2235, allocations: 3.938 kB / 415.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.2235, allocations: 0 / 415.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-06/0.2235, allocations: 0 / 415.8 MB, free: 22.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2235, allocations: 4 kB / 415.9 MB, free: 22.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2235, allocations: 0 / 415.9 MB, free: 22.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.2236, allocations: 121 kB / 416 MB, free: 21.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.2236, allocations: 81.05 kB / 416.1 MB, free: 21.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.2237, allocations: 3.984 kB / 416.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.714e-05/0.2237, allocations: 0 / 416.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-06/0.2237, allocations: 4 kB / 416.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.2237, allocations: 3.984 kB / 416.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.839e-06/0.2237, allocations: 79.31 kB / 416.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.2237, allocations: 0 / 416.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001913/0.2239, allocations: 15.94 kB / 416.2 MB, free: 21.76 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.000202/0.2241, allocations: 127 kB / 416.3 MB, free: 21.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.2242, allocations: 63.98 kB / 416.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2242, allocations: 0 / 416.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.2243, allocations: 32 kB / 416.4 MB, free: 21.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.2246, allocations: 34.38 kB / 416.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.2248, allocations: 226.9 kB / 416.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.312e-05/0.2249, allocations: 0.6846 MB / 417.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-06/0.2249, allocations: 11.44 kB / 417.3 MB, free: 20.53 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2249, allocations: 0 / 417.3 MB, free: 20.53 MB / 302.1 MB Notification: Performance of Templates: time 0.001781/0.2267, allocations: 0.7684 MB / 418.1 MB, free: 19.76 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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1)