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.007235/0.007235, allocations: 102.1 kB / 15.73 MB, free: 6.047 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.001384/0.001384, allocations: 187.2 kB / 16.67 MB, free: 5.973 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.478/1.478, allocations: 222.9 MB / 240.4 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.01338/0.01338, allocations: 2.794 MB / 293.3 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 71.88 kB / 405.9 MB, free: 29.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1479, allocations: 50.23 MB / 456.1 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.01148/0.1594, allocations: 7.517 MB / 463.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.16, allocations: 0.5643 MB / 464.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.1601, allocations: 0 / 464.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1604, allocations: 71.59 kB / 464.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.1605, allocations: 15.86 kB / 464.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1607, allocations: 27.77 kB / 464.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.1608, allocations: 23.81 kB / 464.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.651e-05/0.1609, allocations: 23.91 kB / 464.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.1609, allocations: 11.94 kB / 464.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.161, allocations: 7.938 kB / 464.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.161, allocations: 0 / 464.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.1612, allocations: 36 kB / 464.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.1613, allocations: 3.938 kB / 464.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.1613, allocations: 15.94 kB / 464.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1615, allocations: 55.75 kB / 464.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1615, allocations: 0 / 464.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1615, allocations: 0 / 464.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1616, allocations: 0 / 464.5 MB, free: 2.402 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.0004115/0.162, allocations: 339.4 kB / 464.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.162, allocations: 8.031 kB / 464.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.1621, allocations: 4.891 kB / 464.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1622, allocations: 168.3 kB / 465 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1622, allocations: 4.375 kB / 465 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1622, allocations: 384 / 465 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1624, allocations: 53.83 kB / 465.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1624, allocations: 0 / 465.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1624, allocations: 3.984 kB / 465.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1624, allocations: 7.984 kB / 465.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.797e-05/0.1625, allocations: 20 kB / 465.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.1627, allocations: 173.5 kB / 465.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.1628, allocations: 50.58 kB / 465.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.1628, allocations: 40.88 kB / 465.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.1628, allocations: 3.938 kB / 465.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1629, allocations: 34.5 kB / 465.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.1629, allocations: 4 kB / 465.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002396/0.1631, allocations: 125.6 kB / 465.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1632, allocations: 51.41 kB / 465.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.957e-05/0.1632, allocations: 89.86 kB / 465.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1632, allocations: 25.7 kB / 465.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.1633, allocations: 80.38 kB / 465.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.1633, allocations: 47.58 kB / 465.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1634, allocations: 21.7 kB / 465.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1635, allocations: 318.9 kB / 466.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.1636, allocations: 23.98 kB / 466.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.1636, allocations: 20 kB / 466.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.307e-05/0.1637, allocations: 72.95 kB / 466.2 MB, free: 444 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1637, allocations: 3.938 kB / 466.2 MB, free: 440 kB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001221/0.1639, allocations: 89.56 kB / 466.3 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1639, allocations: 4 kB / 466.3 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1639, allocations: 0 / 466.3 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1639, allocations: 0 / 466.3 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.1639, allocations: 4.062 kB / 466.3 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1639, allocations: 4 kB / 466.3 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.164, allocations: 15.88 kB / 466.4 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.164, allocations: 0 / 466.4 MB, free: 316 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 8.38e-05/0.1641, allocations: 109.8 kB / 466.5 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.1641, allocations: 3.938 kB / 466.5 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.1641, allocations: 4.094 kB / 466.5 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1641, allocations: 0 / 466.5 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1642, allocations: 0 / 466.5 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1642, allocations: 4 kB / 466.5 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1643, allocations: 181.5 kB / 466.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1643, allocations: 0 / 466.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-06/0.1643, allocations: 3.938 kB / 466.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.1643, allocations: 0 / 466.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.1644, allocations: 0 / 466.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1644, allocations: 0 / 466.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1644, allocations: 4 kB / 466.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1645, allocations: 117 kB / 466.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.1646, allocations: 85.08 kB / 466.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1646, allocations: 8 kB / 466.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/0.1646, allocations: 0 / 466.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1646, allocations: 3.984 kB / 466.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1646, allocations: 0 / 466.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.201e-05/0.1647, allocations: 75.28 kB / 466.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 3.938 kB / 467 MB, free: 15.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.1649, allocations: 8 kB / 467 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.0002791/0.1652, allocations: 128.9 kB / 467.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.1653, allocations: 63.98 kB / 467.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1653, allocations: 0 / 467.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.926e-05/0.1654, allocations: 44 kB / 467.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1658, allocations: 27.89 kB / 467.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1662, allocations: 201.3 kB / 467.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.1664, allocations: 0.6846 MB / 468.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.321e-05/0.1665, allocations: 3.938 kB / 468.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.1665, allocations: 7.438 kB / 468.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1665, allocations: 0 / 468.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Templates: time 0.004394/0.1709, allocations: 1.309 MB / 469.4 MB, free: 13.12 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)