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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.695/1.695, allocations: 177.1 MB / 203.1 MB, free: 5.141 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01389/0.01389, allocations: 1.997 MB / 261.5 MB, free: 10.85 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 331.6 MB, free: 17.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.952e-05, allocations: 5.547 kB / 331.6 MB, free: 17.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.007659/0.007688, allocations: 7.672 MB / 339.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000338/0.008026, allocations: 0.5527 MB / 339.8 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.008054, allocations: 4 kB / 339.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.008259, allocations: 51.61 kB / 339.9 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.57e-05/0.008285, allocations: 23.78 kB / 339.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/0.008429, allocations: 31.77 kB / 339.9 MB, free: 8.941 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.008523, allocations: 43.67 kB / 340 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.008561, allocations: 0 / 340 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.008603, allocations: 11.98 kB / 340 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.00865, allocations: 11.94 kB / 340 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.008662, allocations: 0 / 340 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.008819, allocations: 32 kB / 340 MB, free: 8.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.008834, allocations: 4 kB / 340 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.008859, allocations: 15.88 kB / 340 MB, free: 8.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.008997, allocations: 47.86 kB / 340.1 MB, free: 8.777 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.009002, allocations: 4 kB / 340.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.009003, allocations: 4 kB / 340.1 MB, free: 8.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.009008, allocations: 0 / 340.1 MB, free: 8.77 MB / 266.7 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.0002655/0.009274, allocations: 360.2 kB / 340.5 MB, free: 8.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.009305, allocations: 8.031 kB / 340.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.00935, allocations: 4.891 kB / 340.5 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.786e-05/0.009418, allocations: 112.6 kB / 340.6 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.009432, allocations: 4.312 kB / 340.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.009439, allocations: 384 / 340.6 MB, free: 8.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.009539, allocations: 38.2 kB / 340.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.009548, allocations: 192 / 340.6 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.009557, allocations: 4.125 kB / 340.6 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.009566, allocations: 12 kB / 340.6 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.009587, allocations: 4 kB / 340.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.00969, allocations: 124.5 kB / 340.8 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.438e-05/0.009744, allocations: 31.06 kB / 340.8 MB, free: 7.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.009762, allocations: 19.97 kB / 340.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.009789, allocations: 0 / 340.8 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.009807, allocations: 45.39 kB / 340.9 MB, free: 7.891 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 7.52e-07/0.009808, allocations: 3.938 kB / 340.9 MB, free: 7.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001663/0.009974, allocations: 89.38 kB / 340.9 MB, free: 7.797 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.009996, allocations: 51.41 kB / 341 MB, free: 7.734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.046e-05/0.01002, allocations: 146.3 kB / 341.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-06/0.01002, allocations: 25.7 kB / 341.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.553e-05/0.01004, allocations: 127.1 kB / 341.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.01008, allocations: 55.53 kB / 341.3 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.01011, allocations: 19.38 kB / 341.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.01017, allocations: 0.4923 MB / 341.9 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.01018, allocations: 8 kB / 341.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.0102, allocations: 8 kB / 341.9 MB, free: 6.816 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.01024, allocations: 35.62 kB / 341.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01024, allocations: 0 / 341.9 MB, free: 6.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.841e-05/0.01032, allocations: 73.69 kB / 342 MB, free: 6.699 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01033, allocations: 8.062 kB / 342 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.01033, allocations: 0 / 342 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01035, allocations: 0 / 342 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.422e-06/0.01035, allocations: 3.938 kB / 342 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01035, allocations: 3.984 kB / 342 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.01038, allocations: 7.953 kB / 342 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.01039, allocations: 0 / 342 MB, free: 6.676 MB / 266.7 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 5.088e-05/0.01044, allocations: 152.6 kB / 342.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.01045, allocations: 11.94 kB / 342.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.01048, allocations: 7.953 kB / 342.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01049, allocations: 11.94 kB / 342.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.01049, allocations: 3.938 kB / 342.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.01049, allocations: 0 / 342.2 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.99e-05/0.01054, allocations: 120.6 kB / 342.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01054, allocations: 3.938 kB / 342.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.01054, allocations: 0 / 342.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.01055, allocations: 0 / 342.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.01055, allocations: 0 / 342.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01055, allocations: 0 / 342.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01055, allocations: 0 / 342.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.192e-05/0.01063, allocations: 108.3 kB / 342.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.01064, allocations: 11.98 kB / 342.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/0.01065, allocations: 0 / 342.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.01067, allocations: 0 / 342.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.01069, allocations: 3.938 kB / 342.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.01069, allocations: 0 / 342.4 MB, free: 6.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.713e-05/0.01071, allocations: 131.2 kB / 342.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01071, allocations: 0 / 342.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.0109, allocations: 8 kB / 342.6 MB, free: 6.047 MB / 266.7 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.0003067/0.01121, allocations: 133.1 kB / 342.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.808e-05/0.01131, allocations: 43.23 kB / 342.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01131, allocations: 0 / 342.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.801e-05/0.01133, allocations: 23.69 kB / 342.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01162, allocations: 28.09 kB / 342.8 MB, free: 5.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.01189, allocations: 170.2 kB / 342.9 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.01192, allocations: 75.3 kB / 343 MB, free: 5.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.812e-05/0.01194, allocations: 0 / 343 MB, free: 5.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.01195, allocations: 8.5 kB / 343 MB, free: 5.523 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01195, allocations: 0 / 343 MB, free: 5.523 MB / 266.7 MB Notification: Performance of Templates: time 0.003974/0.01593, allocations: 1.4 MB / 344.4 MB, free: 4.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile [Timeout 660] (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=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.694015516899526]