Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.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.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") translateModel(ExternalMedia.Test.TestMedium.TestConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009749/0.009749, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001816/0.001816, allocations: 189 kB / 16.67 MB, free: 5.969 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01725/0.01725, allocations: 2.772 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 71.83 kB / 405.9 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1069, allocations: 50.23 MB / 456.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.007863/0.1148, allocations: 7.303 MB / 463.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 6.332e-06/0.1148, allocations: 0 / 463.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.1149, allocations: 4 kB / 463.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.1149, allocations: 0 / 463.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.1153, allocations: 116.3 kB / 463.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.1153, allocations: 0 / 463.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.1154, allocations: 11.88 kB / 463.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.1154, allocations: 4 kB / 463.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.1256, allocations: 35.47 kB / 463.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.551e-05/0.1256, allocations: 0 / 463.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-06/0.1256, allocations: 0 / 463.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.1257, allocations: 4 kB / 463.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-06/0.1257, allocations: 0 / 463.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.1257, allocations: 4 kB / 463.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 6.2e-05/0.1258, allocations: 3.984 kB / 463.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1258, allocations: 0 / 463.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1258, allocations: 0 / 463.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1258, allocations: 0 / 463.6 MB, free: 3.281 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003025/0.1261, allocations: 319.6 kB / 463.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1261, allocations: 8.031 kB / 463.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.1262, allocations: 8.875 kB / 463.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.766e-05/0.1263, allocations: 164.4 kB / 464.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1263, allocations: 384 / 464.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.1263, allocations: 384 / 464.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.2e-05/0.1264, allocations: 33.81 kB / 464.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1264, allocations: 0 / 464.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.1264, allocations: 4 kB / 464.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1264, allocations: 0 / 464.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.486e-05/0.1264, allocations: 0 / 464.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.1267, allocations: 383.5 kB / 464.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.1268, allocations: 169.1 kB / 464.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.1269, allocations: 84.14 kB / 464.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1269, allocations: 79.22 kB / 464.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.127, allocations: 117.8 kB / 464.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.127, allocations: 0 / 464.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.006e-05/0.127, allocations: 33.64 kB / 465 MB, free: 1.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.1271, allocations: 126.7 kB / 465.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.1272, allocations: 89.86 kB / 465.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.1272, allocations: 25.7 kB / 465.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.1273, allocations: 80.14 kB / 465.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.1273, allocations: 4 kB / 465.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1273, allocations: 13.84 kB / 465.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1274, allocations: 322.8 kB / 465.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-06/0.1275, allocations: 4 kB / 465.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-06/0.1275, allocations: 4 kB / 465.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.1275, allocations: 8.797 kB / 465.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1275, allocations: 0 / 465.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.587e-05/0.1276, allocations: 33.64 kB / 465.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.1276, allocations: 12.09 kB / 465.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1276, allocations: 0 / 465.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1277, allocations: 0 / 465.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.1277, allocations: 0 / 465.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1277, allocations: 0 / 465.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.1277, allocations: 4 kB / 465.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.1278, allocations: 0 / 465.7 MB, free: 0.9648 MB / 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001084/0.1279, allocations: 197 kB / 465.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.1279, allocations: 104.9 kB / 466 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.128, allocations: 116 kB / 466.1 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-05/0.128, allocations: 176.3 kB / 466.3 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.629e-05/0.1281, allocations: 184.2 kB / 466.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/0.1282, allocations: 180.2 kB / 466.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.1285, allocations: 405.2 kB / 467 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-05/0.1285, allocations: 108.9 kB / 467.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1286, allocations: 101 kB / 467.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/0.1287, allocations: 184.2 kB / 467.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.1287, allocations: 180.3 kB / 467.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-05/0.1288, allocations: 180.3 kB / 467.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001287/0.129, allocations: 184.2 kB / 467.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1291, allocations: 315.6 kB / 468.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.1293, allocations: 178.1 kB / 468.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.1294, allocations: 184.3 kB / 468.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.1294, allocations: 104.9 kB / 468.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.1295, allocations: 184.2 kB / 468.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.1296, allocations: 104.9 kB / 469 MB, free: 13.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.552e-05/0.1296, allocations: 79.28 kB / 469.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1296, allocations: 0 / 469.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1299, allocations: 0 / 469.1 MB, free: 13.36 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000107/0.13, allocations: 166.5 kB / 469.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.372e-05/0.1301, allocations: 8.094 kB / 469.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1301, allocations: 0 / 469.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.1301, allocations: 4 kB / 469.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1304, allocations: 458 kB / 469.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.1306, allocations: 160.7 kB / 469.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1309, allocations: 0.669 MB / 470.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.671e-05/0.1309, allocations: 8 kB / 470.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.1309, allocations: 7.438 kB / 470.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1309, allocations: 0 / 470.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Templates: time 0.001869/0.1328, allocations: 169.2 kB / 470.7 MB, free: 11.67 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1)