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.001451/0.001451, allocations: 93.06 kB / 19.65 MB, free: 280 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.001819/0.001819, allocations: 165 kB / 23.02 MB, free: 1.555 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.073/1.073, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.01405/0.01405, allocations: 1.987 MB / 261.9 MB, free: 11.05 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.643e-06/1.643e-06, allocations: 0 / 332.3 MB, free: 16.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.788e-05, allocations: 2.312 kB / 332.3 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.008942/0.00897, allocations: 7.741 MB / 340 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000447/0.009417, allocations: 0.5606 MB / 340.6 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5e-05/0.009467, allocations: 0 / 340.6 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.00979, allocations: 51.67 kB / 340.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.00982, allocations: 19.78 kB / 340.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.01004, allocations: 39.75 kB / 340.7 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.01012, allocations: 35.69 kB / 340.7 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.01017, allocations: 4 kB / 340.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.01022, allocations: 11.98 kB / 340.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.01027, allocations: 11.94 kB / 340.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.01029, allocations: 0 / 340.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.01045, allocations: 35.92 kB / 340.8 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.01046, allocations: 4 kB / 340.8 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.01049, allocations: 7.938 kB / 340.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.01062, allocations: 43.89 kB / 340.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.01062, allocations: 0 / 340.9 MB, free: 8.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01062, allocations: 4 kB / 340.9 MB, free: 8.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.01063, allocations: 0 / 340.9 MB, free: 8.359 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.0002605/0.01089, allocations: 360.2 kB / 341.2 MB, free: 7.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.01093, allocations: 12.03 kB / 341.2 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.01096, allocations: 5.234 kB / 341.2 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.101e-05/0.011, allocations: 116.5 kB / 341.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.01101, allocations: 4.375 kB / 341.4 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.01103, allocations: 384 / 341.4 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.416e-05/0.01112, allocations: 42.19 kB / 341.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.01113, allocations: 192 / 341.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.01114, allocations: 4.125 kB / 341.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01115, allocations: 4 kB / 341.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.01117, allocations: 15.88 kB / 341.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.51e-05/0.01126, allocations: 124.6 kB / 341.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.553e-05/0.0113, allocations: 31.19 kB / 341.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.01131, allocations: 19.84 kB / 341.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.01134, allocations: 3.938 kB / 341.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.01135, allocations: 33.39 kB / 341.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 4.81e-07/0.01135, allocations: 0 / 341.6 MB, free: 7.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001461/0.0115, allocations: 89.62 kB / 341.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.01152, allocations: 51.41 kB / 341.8 MB, free: 7.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.753e-05/0.01154, allocations: 150.3 kB / 341.9 MB, free: 7.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.249e-06/0.01154, allocations: 25.7 kB / 341.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.026e-05/0.01155, allocations: 131.1 kB / 342.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.01159, allocations: 47.53 kB / 342.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.01162, allocations: 23.38 kB / 342.1 MB, free: 6.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.01166, allocations: 0.4923 MB / 342.6 MB, free: 6.414 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.01168, allocations: 8 kB / 342.6 MB, free: 6.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.01168, allocations: 11.94 kB / 342.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.01173, allocations: 35.69 kB / 342.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01173, allocations: 0 / 342.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 5.79e-05/0.01179, allocations: 77.67 kB / 342.8 MB, free: 6.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.0118, allocations: 4 kB / 342.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.0118, allocations: 0 / 342.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.01182, allocations: 0 / 342.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-06/0.01182, allocations: 3.938 kB / 342.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.01183, allocations: 4 kB / 342.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.01185, allocations: 0 / 342.8 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.01186, allocations: 0 / 342.8 MB, free: 6.262 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 3.795e-05/0.0119, allocations: 156.5 kB / 342.9 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-06/0.0119, allocations: 7.953 kB / 342.9 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.01194, allocations: 11.94 kB / 342.9 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01195, allocations: 7.984 kB / 342.9 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01195, allocations: 3.938 kB / 343 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.01195, allocations: 0 / 343 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.035e-05/0.01199, allocations: 124.5 kB / 343.1 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01199, allocations: 4 kB / 343.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.01199, allocations: 0 / 343.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01199, allocations: 0 / 343.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.012, allocations: 0 / 343.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.012, allocations: 0 / 343.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.012, allocations: 0 / 343.1 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.805e-05/0.01207, allocations: 120 kB / 343.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.01208, allocations: 3.953 kB / 343.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.01208, allocations: 0 / 343.2 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.0121, allocations: 4 kB / 343.2 MB, free: 5.766 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.01212, allocations: 3.938 kB / 343.2 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.01212, allocations: 3.938 kB / 343.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.279e-05/0.01213, allocations: 123.2 kB / 343.3 MB, free: 5.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01213, allocations: 0 / 343.3 MB, free: 5.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.01226, allocations: 11.94 kB / 343.3 MB, free: 5.625 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.0002504/0.01251, allocations: 121.6 kB / 343.5 MB, free: 5.504 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.374e-05/0.01261, allocations: 35.67 kB / 343.5 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01261, allocations: 0 / 343.5 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.01262, allocations: 27.69 kB / 343.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.01284, allocations: 28.08 kB / 343.6 MB, free: 5.406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.01344, allocations: 197.9 kB / 343.7 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.149e-05/0.01346, allocations: 63.31 kB / 343.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.098e-05/0.01348, allocations: 0 / 343.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.01349, allocations: 8.5 kB / 343.8 MB, free: 5.094 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01349, allocations: 0 / 343.8 MB, free: 5.094 MB / 266.7 MB Notification: Performance of Templates: time 0.002971/0.01647, allocations: 1.406 MB / 345.2 MB, free: 3.73 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: 3.0552676669321954]