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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") translateModel(ExternalMedia.Test.TestMedium.TestSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 108.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001476, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01172/0.01172, allocations: 2.773 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001183, allocations: 67.89 kB / 406.6 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08613, allocations: 50.22 MB / 456.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.00853/0.09471, allocations: 7.514 MB / 464.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004529/0.09521, allocations: 0.5682 MB / 464.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.09524, allocations: 0 / 464.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.09547, allocations: 67.67 kB / 464.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 2.045e-05/0.0955, allocations: 15.86 kB / 465 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.09568, allocations: 27.77 kB / 465 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.259e-05/0.09576, allocations: 31.73 kB / 465 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.553e-05/0.09581, allocations: 4 kB / 465 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.09585, allocations: 19.94 kB / 465 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.0959, allocations: 7.938 kB / 465 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.09591, allocations: 0 / 465 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.09608, allocations: 43.86 kB / 465.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.0961, allocations: 3.938 kB / 465.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.09614, allocations: 15.94 kB / 465.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.0963, allocations: 59.75 kB / 465.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09631, allocations: 0 / 465.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09631, allocations: 0 / 465.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.09632, allocations: 0 / 465.2 MB, free: 2.395 MB / 334.1 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.0003527/0.09668, allocations: 339.4 kB / 465.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.09672, allocations: 8.031 kB / 465.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.09675, allocations: 0.9375 kB / 465.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.09686, allocations: 168.4 kB / 465.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.09688, allocations: 4.375 kB / 465.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.09689, allocations: 384 / 465.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.09702, allocations: 61.75 kB / 465.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.09704, allocations: 0 / 465.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.09705, allocations: 0 / 465.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.09706, allocations: 0 / 465.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.259e-05/0.0971, allocations: 27.98 kB / 465.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.09726, allocations: 169.5 kB / 465.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.09733, allocations: 46.7 kB / 466 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.804e-05/0.09737, allocations: 45 kB / 466 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.0974, allocations: 3.938 kB / 466 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.09743, allocations: 34.5 kB / 466.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.09743, allocations: 4 kB / 466.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002006/0.09764, allocations: 121.7 kB / 466.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.09768, allocations: 51.41 kB / 466.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.326e-05/0.09772, allocations: 89.86 kB / 466.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.09773, allocations: 25.7 kB / 466.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.196e-05/0.09777, allocations: 80.38 kB / 466.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.09782, allocations: 43.27 kB / 466.5 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.09787, allocations: 21.7 kB / 466.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.09798, allocations: 318.9 kB / 466.8 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.09801, allocations: 23.98 kB / 466.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.09804, allocations: 23.88 kB / 466.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.09812, allocations: 68.77 kB / 466.9 MB, free: 448 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.09813, allocations: 7.938 kB / 466.9 MB, free: 440 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.58e-05/0.09823, allocations: 89.62 kB / 467 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.09826, allocations: 6.5 kB / 467 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.09826, allocations: 0 / 467 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.09828, allocations: 3.984 kB / 467 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.09829, allocations: 0 / 467 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.0983, allocations: 8.062 kB / 467 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.09833, allocations: 15.78 kB / 467 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.09834, allocations: 0 / 467 MB, free: 312 kB / 334.1 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 7.682e-05/0.09843, allocations: 109.8 kB / 467.1 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.09844, allocations: 3.938 kB / 467.1 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.09847, allocations: 4.094 kB / 467.2 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.09848, allocations: 0 / 467.2 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.09849, allocations: 3.984 kB / 467.2 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.0985, allocations: 0 / 467.2 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.09863, allocations: 173.6 kB / 467.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.09864, allocations: 3.938 kB / 467.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-06/0.09865, allocations: 3.938 kB / 467.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.09865, allocations: 0 / 467.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.09866, allocations: 0 / 467.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.09867, allocations: 0 / 467.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09868, allocations: 4 kB / 467.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.09879, allocations: 109.1 kB / 467.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.09884, allocations: 92.92 kB / 467.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.09886, allocations: 3.984 kB / 467.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.851e-05/0.09888, allocations: 8 kB / 467.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.0989, allocations: 0 / 467.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.09891, allocations: 0 / 467.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.09894, allocations: 75.28 kB / 467.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09894, allocations: 0 / 467.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001863/0.09914, allocations: 8 kB / 467.6 MB, free: 15.62 MB / 350.1 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.0002706/0.09941, allocations: 138.2 kB / 467.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.09954, allocations: 67.92 kB / 467.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.09955, allocations: 3.938 kB / 467.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.09959, allocations: 40.06 kB / 467.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.09994, allocations: 27.91 kB / 467.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.1003, allocations: 223.1 kB / 468.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1006, allocations: 0.6846 MB / 468.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.08e-05/0.1007, allocations: 7.438 kB / 468.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1007, allocations: 0 / 468.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Templates: time 0.001985/0.1026, allocations: 0.7603 MB / 469.6 MB, free: 13.61 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.makefile (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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestSat.pipe 2>&1)