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.001244/0.001244, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001229/0.001229, allocations: 169 kB / 23.28 MB, free: 1.219 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.012/1.012, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.008518/0.008518, allocations: 1.993 MB / 262.2 MB, free: 10.9 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.433e-06/1.433e-06, allocations: 0 / 332.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.983e-05, allocations: 2.312 kB / 332.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.01821/0.01823, allocations: 7.641 MB / 340.4 MB, free: 9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000303/0.01853, allocations: 0.5488 MB / 341 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.01856, allocations: 4 kB / 341 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.01874, allocations: 47.72 kB / 341 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 1.831e-05/0.01875, allocations: 23.78 kB / 341 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.01888, allocations: 31.77 kB / 341.1 MB, free: 8.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.01893, allocations: 35.69 kB / 341.1 MB, free: 8.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.01897, allocations: 7.984 kB / 341.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.01901, allocations: 15.92 kB / 341.1 MB, free: 8.285 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.01906, allocations: 8 kB / 341.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.01907, allocations: 0 / 341.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.01921, allocations: 39.94 kB / 341.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.01923, allocations: 3.938 kB / 341.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.01924, allocations: 8 kB / 341.2 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.01936, allocations: 39.83 kB / 341.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01937, allocations: 4 kB / 341.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01937, allocations: 0 / 341.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.01937, allocations: 0 / 341.2 MB, free: 8.184 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.0002114/0.01958, allocations: 372.2 kB / 341.6 MB, free: 7.785 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.01962, allocations: 8.031 kB / 341.6 MB, free: 7.777 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.01964, allocations: 5.234 kB / 341.6 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.824e-05/0.01968, allocations: 112.6 kB / 341.7 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.01969, allocations: 4.359 kB / 341.7 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-06/0.0197, allocations: 4.312 kB / 341.7 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.408e-05/0.01976, allocations: 38.27 kB / 341.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.01977, allocations: 192 / 341.8 MB, free: 7.586 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.01977, allocations: 4.125 kB / 341.8 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.01978, allocations: 3.984 kB / 341.8 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.342e-05/0.01979, allocations: 12 kB / 341.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.321e-05/0.01987, allocations: 97.22 kB / 341.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.93e-05/0.0199, allocations: 35.17 kB / 341.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.213e-05/0.01991, allocations: 19.78 kB / 341.9 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.01993, allocations: 8 kB / 341.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.01994, allocations: 33.39 kB / 342 MB, free: 7.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.01995, allocations: 4 kB / 342 MB, free: 7.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001139/0.02006, allocations: 77.33 kB / 342 MB, free: 7.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.523e-05/0.02007, allocations: 55.34 kB / 342.1 MB, free: 7.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.445e-05/0.02009, allocations: 142.2 kB / 342.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.968e-06/0.02009, allocations: 29.73 kB / 342.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-06/0.0201, allocations: 127.1 kB / 342.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.02014, allocations: 55.52 kB / 342.4 MB, free: 6.805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.02017, allocations: 27.34 kB / 342.5 MB, free: 6.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.499e-05/0.0202, allocations: 0.4884 MB / 343 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.02021, allocations: 7.938 kB / 343 MB, free: 6.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.02022, allocations: 12 kB / 343 MB, free: 6.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.02025, allocations: 35.66 kB / 343 MB, free: 6.211 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.02026, allocations: 0 / 343 MB, free: 6.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 5.345e-05/0.02031, allocations: 65.59 kB / 343.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.02032, allocations: 4.062 kB / 343.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.02033, allocations: 4 kB / 343.1 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.02034, allocations: 4 kB / 343.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-06/0.02034, allocations: 0 / 343.1 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.02034, allocations: 7.922 kB / 343.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.02037, allocations: 0 / 343.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.02037, allocations: 0 / 343.1 MB, free: 6.121 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.603e-05/0.02041, allocations: 160.5 kB / 343.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.02041, allocations: 3.953 kB / 343.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.02044, allocations: 7.969 kB / 343.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.02044, allocations: 0 / 343.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.02045, allocations: 4 kB / 343.3 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.02045, allocations: 7.938 kB / 343.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.479e-05/0.02049, allocations: 101.2 kB / 343.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.02049, allocations: 0 / 343.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.02049, allocations: 0 / 343.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.0205, allocations: 0 / 343.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-06/0.0205, allocations: 0 / 343.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.0205, allocations: 0 / 343.4 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.0205, allocations: 4 kB / 343.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.943e-05/0.02056, allocations: 108.3 kB / 343.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.02057, allocations: 3.953 kB / 343.5 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.02057, allocations: 12.02 kB / 343.5 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.02059, allocations: 0 / 343.5 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.0206, allocations: 3.938 kB / 343.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-06/0.0206, allocations: 0 / 343.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.036e-05/0.02061, allocations: 119.2 kB / 343.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02061, allocations: 0 / 343.6 MB, free: 5.539 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.02079, allocations: 15.94 kB / 343.6 MB, free: 5.523 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.000189/0.02097, allocations: 136.2 kB / 343.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.828e-05/0.02104, allocations: 31.69 kB / 343.8 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02104, allocations: 0 / 343.8 MB, free: 5.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.02106, allocations: 31.72 kB / 343.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.02129, allocations: 31.91 kB / 343.9 MB, free: 5.293 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.0218, allocations: 194 kB / 344.1 MB, free: 5.074 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.975e-05/0.02182, allocations: 63.3 kB / 344.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.511e-05/0.02183, allocations: 0 / 344.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.02188, allocations: 86.19 kB / 344.2 MB, free: 4.906 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02188, allocations: 0 / 344.2 MB, free: 4.906 MB / 266.7 MB Notification: Performance of Templates: time 0.01202/0.03391, allocations: 1.644 MB / 345.8 MB, free: 3.289 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.7789979088120162]