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.00115/0.00115, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001152/0.001152, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01429/0.01429, allocations: 2.774 MB / 293.9 MB, free: 12.02 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 355.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2157, allocations: 50.23 MB / 406.1 MB, free: 32.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestConstants): time 0.006189/0.2219, allocations: 7.313 MB / 413.4 MB, free: 25.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 6.703e-06/0.222, allocations: 7.984 kB / 413.4 MB, free: 25.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.597e-05/0.222, allocations: 0 / 413.4 MB, free: 25.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.222, allocations: 7.938 kB / 413.4 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.2224, allocations: 104.4 kB / 413.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.23e-06/0.2224, allocations: 0 / 413.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.2224, allocations: 3.938 kB / 413.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.2225, allocations: 4 kB / 413.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01987/0.2424, allocations: 41.12 kB / 413.5 MB, free: 25.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.816e-05/0.2424, allocations: 3.984 kB / 413.5 MB, free: 25.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-06/0.2425, allocations: 0 / 413.5 MB, free: 25.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.05e-06/0.2425, allocations: 0 / 413.5 MB, free: 25.33 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.2425, allocations: 7.938 kB / 413.6 MB, free: 25.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.2425, allocations: 3.938 kB / 413.6 MB, free: 25.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.843e-05/0.2426, allocations: 4 kB / 413.6 MB, free: 25.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2426, allocations: 0 / 413.6 MB, free: 25.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2426, allocations: 0 / 413.6 MB, free: 25.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2426, allocations: 0 / 413.6 MB, free: 25.32 MB / 302.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.0002394/0.2429, allocations: 307.6 kB / 413.9 MB, free: 24.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2429, allocations: 8.031 kB / 413.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.243, allocations: 0.9375 kB / 413.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.538e-05/0.2431, allocations: 168.4 kB / 414 MB, free: 24.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.2431, allocations: 4.375 kB / 414 MB, free: 24.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.2431, allocations: 4.375 kB / 414 MB, free: 24.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.2432, allocations: 29.83 kB / 414.1 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2432, allocations: 0 / 414.1 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2432, allocations: 0 / 414.1 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2432, allocations: 0 / 414.1 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.2433, allocations: 4 kB / 414.1 MB, free: 24.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.2436, allocations: 391.3 kB / 414.5 MB, free: 24.28 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.349e-05/0.2436, allocations: 169.1 kB / 414.6 MB, free: 24.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.2437, allocations: 84.17 kB / 414.7 MB, free: 24.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.2437, allocations: 75.28 kB / 414.8 MB, free: 23.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.2437, allocations: 105.8 kB / 414.9 MB, free: 23.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.443e-06/0.2437, allocations: 4 kB / 414.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.307e-05/0.2438, allocations: 33.67 kB / 414.9 MB, free: 23.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2439, allocations: 130.7 kB / 415 MB, free: 23.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.244, allocations: 93.86 kB / 415.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.244, allocations: 29.69 kB / 415.2 MB, free: 23.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.244, allocations: 80.14 kB / 415.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-06/0.244, allocations: 0 / 415.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.2441, allocations: 13.84 kB / 415.3 MB, free: 23.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.2441, allocations: 318.8 kB / 415.6 MB, free: 23.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.2441, allocations: 0 / 415.6 MB, free: 23.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.2442, allocations: 4 kB / 415.6 MB, free: 23.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.2442, allocations: 8.859 kB / 415.6 MB, free: 23.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2442, allocations: 0 / 415.6 MB, free: 23.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001043/0.2443, allocations: 33.64 kB / 415.6 MB, free: 23.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.2443, allocations: 4 kB / 415.6 MB, free: 23.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2444, allocations: 8.078 kB / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2444, allocations: 4 kB / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.2444, allocations: 0 / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2445, allocations: 0 / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.2445, allocations: 0 / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.2445, allocations: 3.938 kB / 415.6 MB, free: 23.01 MB / 302.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 5.403e-05/0.2446, allocations: 189.1 kB / 415.8 MB, free: 22.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.2446, allocations: 108.9 kB / 415.9 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.2447, allocations: 108.1 kB / 416 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.2447, allocations: 180.3 kB / 416.2 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.939e-05/0.2447, allocations: 188.2 kB / 416.4 MB, free: 22.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/0.2448, allocations: 176.3 kB / 416.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.245, allocations: 413.1 kB / 417 MB, free: 21.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.245, allocations: 109 kB / 417.1 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/0.245, allocations: 101 kB / 417.2 MB, free: 21.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.653e-05/0.2451, allocations: 180.2 kB / 417.3 MB, free: 21.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.2451, allocations: 176.3 kB / 417.5 MB, free: 20.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.542e-05/0.2451, allocations: 188.1 kB / 417.7 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-05/0.2452, allocations: 184.2 kB / 417.9 MB, free: 20.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.669e-05/0.2453, allocations: 315.7 kB / 418.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.2453, allocations: 178.1 kB / 418.4 MB, free: 20.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.786e-05/0.2453, allocations: 184.2 kB / 418.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.2454, allocations: 105 kB / 418.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.2455, allocations: 184.3 kB / 418.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.2455, allocations: 104.9 kB / 418.9 MB, free: 19.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.743e-05/0.2455, allocations: 75.28 kB / 419 MB, free: 19.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2455, allocations: 0 / 419 MB, free: 19.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.2459, allocations: 4 kB / 419 MB, free: 19.41 MB / 302.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 7.205e-05/0.246, allocations: 162.5 kB / 419.2 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.2461, allocations: 7.984 kB / 419.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2461, allocations: 4.156 kB / 419.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.156e-06/0.2461, allocations: 3.938 kB / 419.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2465, allocations: 459.6 kB / 419.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001936/0.2467, allocations: 164.7 kB / 419.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.826e-05/0.2468, allocations: 0.669 MB / 420.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.863e-05/0.2469, allocations: 4 kB / 420.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.2469, allocations: 7.438 kB / 420.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2469, allocations: 0 / 420.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of Templates: time 0.002235/0.2492, allocations: 169.1 kB / 420.6 MB, free: 17.71 MB / 302.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 -s gbode -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestConstants.pipe 2>&1)