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.0009842/0.0009842, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009214/0.0009214, allocations: 173 kB / 23.5 MB, free: 1.055 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 0.9708/0.9708, allocations: 177.1 MB / 203.8 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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.01191/0.01191, allocations: 1.992 MB / 262.3 MB, free: 11.11 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.933e-06/1.933e-06, allocations: 0 / 332.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.883e-05, allocations: 8.844 kB / 332.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.007156/0.007175, allocations: 7.723 MB / 340 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003614/0.007536, allocations: 0.5566 MB / 340.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.007568, allocations: 4 kB / 340.6 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.007773, allocations: 47.67 kB / 340.7 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.256e-05/0.007795, allocations: 19.8 kB / 340.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.00795, allocations: 31.75 kB / 340.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.571e-05/0.008026, allocations: 43.67 kB / 340.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.008065, allocations: 0 / 340.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.008107, allocations: 11.98 kB / 340.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.008162, allocations: 11.94 kB / 340.8 MB, free: 8.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.00818, allocations: 4 kB / 340.8 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.008344, allocations: 35.94 kB / 340.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.008359, allocations: 0 / 340.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.008385, allocations: 11.94 kB / 340.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.00853, allocations: 39.89 kB / 340.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.008532, allocations: 0 / 340.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.008533, allocations: 4 kB / 340.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.008537, allocations: 0 / 340.9 MB, free: 8.715 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.0002448/0.008782, allocations: 360.2 kB / 341.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.008818, allocations: 19.95 kB / 341.2 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.008856, allocations: 9.234 kB / 341.2 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.296e-05/0.008909, allocations: 116.5 kB / 341.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.00892, allocations: 384 / 341.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.008927, allocations: 384 / 341.4 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.009015, allocations: 38.2 kB / 341.4 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.009021, allocations: 192 / 341.4 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.00903, allocations: 4.125 kB / 341.4 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.009041, allocations: 7.984 kB / 341.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.009059, allocations: 8 kB / 341.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.011e-05/0.009149, allocations: 116.6 kB / 341.5 MB, free: 7.949 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.009188, allocations: 35.19 kB / 341.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.009207, allocations: 19.84 kB / 341.6 MB, free: 7.879 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.009228, allocations: 3.938 kB / 341.6 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.009248, allocations: 41.38 kB / 341.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.009249, allocations: 0 / 341.6 MB, free: 7.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002883/0.009538, allocations: 89.52 kB / 341.7 MB, free: 7.734 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.009572, allocations: 51.41 kB / 341.8 MB, free: 7.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.65e-05/0.009598, allocations: 146.2 kB / 341.9 MB, free: 7.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.009605, allocations: 25.7 kB / 341.9 MB, free: 7.484 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.649e-05/0.009622, allocations: 127.1 kB / 342.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.00968, allocations: 51.52 kB / 342.1 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.009724, allocations: 35.39 kB / 342.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.009792, allocations: 496.1 kB / 342.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.009812, allocations: 8 kB / 342.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.009829, allocations: 11.94 kB / 342.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.009895, allocations: 39.67 kB / 342.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009897, allocations: 0 / 342.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.085e-05/0.009988, allocations: 69.66 kB / 342.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.01001, allocations: 4 kB / 342.8 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.01001, allocations: 0 / 342.8 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.01003, allocations: 4 kB / 342.8 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-06/0.01003, allocations: 3.938 kB / 342.8 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.01004, allocations: 8.047 kB / 342.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.01007, allocations: 0 / 342.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.01008, allocations: 0 / 342.8 MB, free: 6.609 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.882e-05/0.01014, allocations: 164.5 kB / 342.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.01015, allocations: 11.89 kB / 342.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.01019, allocations: 3.969 kB / 342.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.0102, allocations: 0 / 342.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.01021, allocations: 3.938 kB / 343 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01021, allocations: 4 kB / 343 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.971e-05/0.01029, allocations: 116.6 kB / 343.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01029, allocations: 4 kB / 343.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.01029, allocations: 0 / 343.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01029, allocations: 0 / 343.1 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.0103, allocations: 4 kB / 343.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0103, allocations: 0 / 343.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0103, allocations: 0 / 343.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.01041, allocations: 116.3 kB / 343.2 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.01042, allocations: 3.953 kB / 343.2 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.01043, allocations: 4 kB / 343.2 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.602e-05/0.01044, allocations: 0 / 343.2 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.01046, allocations: 7.922 kB / 343.2 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.01047, allocations: 4.031 kB / 343.2 MB, free: 6.105 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.645e-05/0.01048, allocations: 123.1 kB / 343.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01048, allocations: 0 / 343.3 MB, free: 5.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01072, allocations: 15.94 kB / 343.3 MB, free: 5.969 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.0002821/0.01101, allocations: 132.2 kB / 343.5 MB, free: 5.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.999e-05/0.01111, allocations: 35.69 kB / 343.5 MB, free: 5.805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01111, allocations: 0 / 343.5 MB, free: 5.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.01113, allocations: 23.69 kB / 343.5 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.01141, allocations: 28.09 kB / 343.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.01208, allocations: 190 kB / 343.7 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.56e-05/0.01211, allocations: 71.3 kB / 343.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.636e-05/0.01213, allocations: 0 / 343.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.213e-05/0.01214, allocations: 12.5 kB / 343.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01214, allocations: 0 / 343.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of Templates: time 0.004126/0.01627, allocations: 1.397 MB / 345.2 MB, free: 4.078 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: 2.6844848410692066]