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.005709/0.005709, allocations: 101.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.001413/0.001413, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1132/0.1132, allocations: 2.757 MB / 293.3 MB, free: 3.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 59.91 kB / 405.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2315, allocations: 50.24 MB / 456.1 MB, free: 21.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestSat): time 0.00569/0.2372, allocations: 7.515 MB / 463.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003215/0.2376, allocations: 0.5831 MB / 464.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.2376, allocations: 0 / 464.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.2378, allocations: 65.17 kB / 464.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.686e-05/0.2378, allocations: 17.34 kB / 464.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.2379, allocations: 29.64 kB / 464.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.478e-05/0.238, allocations: 29.27 kB / 464.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.238, allocations: 7.891 kB / 464.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.2381, allocations: 10.45 kB / 464.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.2381, allocations: 18.3 kB / 464.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.2381, allocations: 0 / 464.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.2383, allocations: 34.92 kB / 464.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-06/0.2383, allocations: 7.094 kB / 464.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.2383, allocations: 17.97 kB / 464.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2384, allocations: 47.97 kB / 464.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2385, allocations: 0 / 464.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2385, allocations: 3.281 kB / 464.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.2385, allocations: 0 / 464.5 MB, free: 15.05 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002206/0.2387, allocations: 340.6 kB / 464.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.2387, allocations: 9.25 kB / 464.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.2388, allocations: 4.797 kB / 464.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.879e-05/0.2388, allocations: 164.9 kB / 465 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.2388, allocations: 384 / 465 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.2388, allocations: 384 / 465 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.914e-05/0.2389, allocations: 57.19 kB / 465.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.2389, allocations: 0 / 465.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.239, allocations: 0.6094 kB / 465.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.239, allocations: 4.828 kB / 465.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.239, allocations: 27.28 kB / 465.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.481e-05/0.2391, allocations: 172.7 kB / 465.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.622e-05/0.2392, allocations: 55.11 kB / 465.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.2392, allocations: 39.58 kB / 465.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.2392, allocations: 3.938 kB / 465.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.2392, allocations: 31.69 kB / 465.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 8.92e-07/0.2392, allocations: 2.969 kB / 465.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0001501/0.2394, allocations: 121.6 kB / 465.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.2394, allocations: 55.34 kB / 465.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.58e-05/0.2394, allocations: 90.61 kB / 465.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.2394, allocations: 29.64 kB / 465.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.718e-06/0.2395, allocations: 80.38 kB / 465.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.2395, allocations: 53.52 kB / 465.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.2395, allocations: 18.55 kB / 465.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.929e-05/0.2396, allocations: 316.1 kB / 466.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.2396, allocations: 27 kB / 466.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.721e-05/0.2396, allocations: 22.52 kB / 466.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.64e-05/0.2397, allocations: 61.23 kB / 466.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2397, allocations: 0.7969 kB / 466.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 7.536e-05/0.2398, allocations: 99.58 kB / 466.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.2398, allocations: 3.719 kB / 466.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2398, allocations: 3.125 kB / 466.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.2398, allocations: 0 / 466.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.2398, allocations: 0.5156 kB / 466.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.2398, allocations: 64 / 466.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.2398, allocations: 8.422 kB / 466.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2399, allocations: 7 kB / 466.4 MB, free: 13.25 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): 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.883e-05/0.2399, allocations: 106.4 kB / 466.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.2399, allocations: 7.391 kB / 466.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.2399, allocations: 8.656 kB / 466.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.24, allocations: 1.172 kB / 466.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.24, allocations: 0.6094 kB / 466.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.24, allocations: 0 / 466.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.07e-05/0.24, allocations: 179 kB / 466.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.24, allocations: 0 / 466.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-06/0.24, allocations: 4.641 kB / 466.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.24, allocations: 0 / 466.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.2401, allocations: 0 / 466.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2401, allocations: 3.453 kB / 466.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2401, allocations: 0 / 466.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.121e-05/0.2402, allocations: 114.7 kB / 466.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.2402, allocations: 86.03 kB / 466.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.2402, allocations: 8.031 kB / 466.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.635e-05/0.2402, allocations: 3.062 kB / 466.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.2402, allocations: 0.9375 kB / 466.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.2402, allocations: 0 / 466.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.001e-05/0.2402, allocations: 79.22 kB / 467 MB, free: 12.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2402, allocations: 0 / 467 MB, free: 12.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001807/0.2404, allocations: 9.125 kB / 467 MB, free: 12.64 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.0001797/0.2406, allocations: 127 kB / 467.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9e-05/0.2407, allocations: 63.44 kB / 467.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2407, allocations: 0 / 467.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.2408, allocations: 41.98 kB / 467.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.241, allocations: 27.94 kB / 467.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.2413, allocations: 191.4 kB / 467.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.2414, allocations: 0.6878 MB / 468.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.2414, allocations: 1.125 kB / 468.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-06/0.2414, allocations: 8.75 kB / 468.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2414, allocations: 0 / 468.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Templates: time 0.003317/0.2448, allocations: 1.314 MB / 469.4 MB, free: 11.47 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)