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.0009175/0.0009175, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009055/0.0009055, allocations: 173 kB / 23.36 MB, free: 1.129 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.9616/0.9616, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.01145/0.01145, allocations: 1.99 MB / 262.2 MB, free: 10.94 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 / 279.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.531e-05, allocations: 2.312 kB / 279.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.006271/0.006296, allocations: 7.75 MB / 287.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.006593, allocations: 0.5526 MB / 287.9 MB, free: 1.297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.00661, allocations: 4 kB / 287.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.006751, allocations: 51.66 kB / 287.9 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.277e-05/0.006764, allocations: 11.92 kB / 287.9 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001072/0.006871, allocations: 35.75 kB / 288 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.006927, allocations: 39.69 kB / 288 MB, free: 1.156 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.006958, allocations: 3.984 kB / 288 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.006994, allocations: 11.94 kB / 288 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.007037, allocations: 11.98 kB / 288 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.007047, allocations: 0 / 288 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.007173, allocations: 39.88 kB / 288.1 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.007184, allocations: 3.938 kB / 288.1 MB, free: 1.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.606e-05/0.007201, allocations: 12 kB / 288.1 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.007306, allocations: 51.81 kB / 288.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.007308, allocations: 0 / 288.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.007308, allocations: 4 kB / 288.1 MB, free: 1.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.007311, allocations: 0 / 288.1 MB, free: 1.02 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.0001924/0.007504, allocations: 236.9 kB / 288.4 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.007531, allocations: 8.031 kB / 288.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.007552, allocations: 0.9375 kB / 288.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.449e-05/0.007606, allocations: 117.7 kB / 288.5 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-06/0.007613, allocations: 384 / 288.5 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-06/0.007617, allocations: 384 / 288.5 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.462e-05/0.007682, allocations: 37.09 kB / 288.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.709e-06/0.007686, allocations: 192 / 288.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.007692, allocations: 4.125 kB / 288.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.007696, allocations: 4 kB / 288.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.307e-05/0.007709, allocations: 11.98 kB / 288.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.619e-05/0.007775, allocations: 70.64 kB / 288.6 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.46e-05/0.00781, allocations: 30.55 kB / 288.6 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.087e-05/0.007821, allocations: 8.859 kB / 288.6 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.007834, allocations: 0 / 288.6 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.00785, allocations: 34.56 kB / 288.7 MB, free: 384 kB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 6.21e-07/0.00785, allocations: 0 / 288.7 MB, free: 384 kB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001015/0.007952, allocations: 69.69 kB / 288.7 MB, free: 308 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.007979, allocations: 55.41 kB / 288.8 MB, free: 240 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.404e-05/0.008003, allocations: 97.83 kB / 288.9 MB, free: 132 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.00801, allocations: 29.64 kB / 288.9 MB, free: 96 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.008029, allocations: 84.38 kB / 289 MB, free: 8 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.09435/0.1024, allocations: 43.16 kB / 289.1 MB, free: 25.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1024, allocations: 19.88 kB / 289.1 MB, free: 25.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.54e-05/0.1024, allocations: 320.9 kB / 289.4 MB, free: 24.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.1025, allocations: 9.328 kB / 289.4 MB, free: 24.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.1025, allocations: 7.25 kB / 289.4 MB, free: 24.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.1025, allocations: 33.98 kB / 289.4 MB, free: 24.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1025, allocations: 0 / 289.4 MB, free: 24.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 6.281e-05/0.1026, allocations: 61.78 kB / 289.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1026, allocations: 6.844 kB / 289.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1026, allocations: 0 / 289.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1026, allocations: 1.219 kB / 289.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.1026, allocations: 2.5 kB / 289.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.1026, allocations: 1.719 kB / 289.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.1027, allocations: 8.453 kB / 289.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1027, allocations: 3.062 kB / 289.5 MB, free: 24.86 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.766e-05/0.1027, allocations: 109.5 kB / 289.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-06/0.1027, allocations: 1.312 kB / 289.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.1027, allocations: 6.625 kB / 289.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1027, allocations: 4.406 kB / 289.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1027, allocations: 4.344 kB / 289.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1027, allocations: 2.312 kB / 289.6 MB, free: 24.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.389e-05/0.1028, allocations: 70.61 kB / 289.7 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1028, allocations: 1.453 kB / 289.7 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-06/0.1028, allocations: 0.7031 kB / 289.7 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.1028, allocations: 3.875 kB / 289.7 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.1028, allocations: 0 / 289.7 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1028, allocations: 2.578 kB / 289.7 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1028, allocations: 0.5625 kB / 289.7 MB, free: 24.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.8e-05/0.1029, allocations: 98.78 kB / 289.8 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.1029, allocations: 11.75 kB / 289.8 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-06/0.1029, allocations: 2.047 kB / 289.8 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-06/0.1029, allocations: 1.281 kB / 289.8 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.009e-05/0.1029, allocations: 6.016 kB / 289.8 MB, free: 24.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1029, allocations: 2.078 kB / 289.8 MB, free: 24.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.861e-06/0.1029, allocations: 4.859 kB / 289.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1029, allocations: 0.8125 kB / 289.8 MB, free: 24.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001057/0.103, allocations: 10.03 kB / 289.9 MB, free: 24.57 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.0002077/0.1032, allocations: 123.5 kB / 290 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.778e-05/0.1033, allocations: 28.62 kB / 290 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1033, allocations: 4.969 kB / 290 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.1033, allocations: 17.69 kB / 290 MB, free: 24.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.1034, allocations: 21.95 kB / 290 MB, free: 24.49 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.1039, allocations: 201.1 kB / 290.2 MB, free: 24.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.035e-05/0.1039, allocations: 64.59 kB / 290.3 MB, free: 24.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.791e-05/0.1039, allocations: 1.094 kB / 290.3 MB, free: 24.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.104, allocations: 62.75 kB / 290.4 MB, free: 24.24 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.104, allocations: 0 / 290.4 MB, free: 24.24 MB / 266.7 MB Notification: Performance of Templates: time 0.003046/0.107, allocations: 1.644 MB / 292 MB, free: 24.09 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.46452619927004]