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.001023/0.001023, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.009865/0.009865, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.58/1.58, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1728/0.1728, allocations: 2.778 MB / 294.2 MB, free: 4.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004607, allocations: 8 kB / 356.2 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1412, allocations: 51.26 MB / 407.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.008823/0.1501, allocations: 6.923 MB / 414.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 9.698e-06/0.1502, allocations: 0 / 414.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.1502, allocations: 3.938 kB / 414.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.1502, allocations: 0 / 414.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.1506, allocations: 108.4 kB / 414.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.1507, allocations: 3.938 kB / 414.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.754e-05/0.1507, allocations: 11.94 kB / 414.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.1508, allocations: 0 / 414.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01863/0.1694, allocations: 29.78 kB / 414.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.951e-05/0.1695, allocations: 0 / 414.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-06/0.1695, allocations: 0 / 414.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.139e-06/0.1695, allocations: 0 / 414.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.1695, allocations: 0 / 414.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.1695, allocations: 29.7 kB / 414.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.379e-05/0.1696, allocations: 3.984 kB / 414.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1696, allocations: 4 kB / 414.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1696, allocations: 0 / 414.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1696, allocations: 0 / 414.6 MB, free: 9.523 MB / 350.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.0002892/0.1699, allocations: 315.6 kB / 414.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.17, allocations: 8.031 kB / 414.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.17, allocations: 0.9375 kB / 414.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.1702, allocations: 160.4 kB / 415.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1702, allocations: 4.312 kB / 415.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.1702, allocations: 4.375 kB / 415.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1703, allocations: 41.8 kB / 415.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1703, allocations: 0 / 415.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1704, allocations: 0 / 415.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1704, allocations: 3.938 kB / 415.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.1704, allocations: 4 kB / 415.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1708, allocations: 379.4 kB / 415.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.775e-05/0.1709, allocations: 169.1 kB / 415.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.1709, allocations: 84.17 kB / 415.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.171, allocations: 79.27 kB / 415.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.171, allocations: 109.8 kB / 415.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.171, allocations: 0 / 415.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.666e-05/0.1711, allocations: 29.7 kB / 416 MB, free: 7.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.1712, allocations: 130.7 kB / 416.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.1713, allocations: 93.86 kB / 416.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.1713, allocations: 25.7 kB / 416.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.1713, allocations: 80.14 kB / 416.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.1713, allocations: 0 / 416.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1714, allocations: 9.719 kB / 416.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1715, allocations: 318.8 kB / 416.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-06/0.1715, allocations: 4 kB / 416.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-06/0.1715, allocations: 12.06 kB / 416.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.482e-05/0.1716, allocations: 8.797 kB / 416.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1716, allocations: 0 / 416.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.1717, allocations: 33.7 kB / 416.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1717, allocations: 4 kB / 416.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1717, allocations: 0 / 416.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1718, allocations: 4 kB / 416.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.1718, allocations: 4 kB / 416.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1718, allocations: 96 / 416.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.1718, allocations: 4 kB / 416.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1719, allocations: 3.984 kB / 416.7 MB, free: 7.211 MB / 350.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.0001029/0.172, allocations: 189 kB / 416.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.172, allocations: 108.9 kB / 417 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.1721, allocations: 108.1 kB / 417.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/0.1722, allocations: 188.2 kB / 417.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.07e-05/0.1722, allocations: 180.3 kB / 417.4 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.819e-05/0.1723, allocations: 184.2 kB / 417.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.1725, allocations: 405.1 kB / 418 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/0.1726, allocations: 101 kB / 418.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.1726, allocations: 104.9 kB / 418.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-05/0.1727, allocations: 188.2 kB / 418.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.1728, allocations: 176.3 kB / 418.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.802e-05/0.1729, allocations: 180.2 kB / 418.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.262e-05/0.1729, allocations: 176.3 kB / 418.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.1731, allocations: 315.7 kB / 419.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.1732, allocations: 182.1 kB / 419.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.1733, allocations: 180.2 kB / 419.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.1733, allocations: 105 kB / 419.7 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.1734, allocations: 184.2 kB / 419.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.1735, allocations: 109 kB / 420 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.1735, allocations: 79.28 kB / 420 MB, free: 3.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1735, allocations: 0 / 420 MB, free: 3.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1738, allocations: 0 / 420 MB, free: 3.621 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.0001263/0.1739, allocations: 166.5 kB / 420.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.009e-05/0.174, allocations: 3.938 kB / 420.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.174, allocations: 0 / 420.2 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.174, allocations: 4 kB / 420.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1743, allocations: 0.5264 MB / 420.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.1746, allocations: 159.9 kB / 420.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1749, allocations: 0.677 MB / 421.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.73e-05/0.1749, allocations: 3.938 kB / 421.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1749, allocations: 7.438 kB / 421.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1749, allocations: 0 / 421.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of Templates: time 0.001931/0.1769, allocations: 157.6 kB / 421.7 MB, free: 1.855 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: