Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002489/0.002489, allocations: 81.48 kB / 19.44 MB, free: 348 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003126/0.003126, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.01311/0.01311, allocations: 1.992 MB / 261.6 MB, free: 11.09 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.TestMedium.TestState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestState") translateModel(ExternalMedia.Test.TestMedium.TestState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 331.6 MB, free: 17.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.287e-05, allocations: 2.312 kB / 331.6 MB, free: 17.33 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestState): time 0.006445/0.006478, allocations: 7.704 MB / 339.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 3.053e-05/0.006508, allocations: 35.81 kB / 339.3 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.006528, allocations: 0 / 339.3 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.006748, allocations: 67.58 kB / 339.4 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.223e-05/0.006771, allocations: 23.78 kB / 339.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.006919, allocations: 31.75 kB / 339.4 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.006985, allocations: 59.48 kB / 339.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.007024, allocations: 0 / 339.5 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.007067, allocations: 15.98 kB / 339.5 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.007125, allocations: 11.94 kB / 339.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.007138, allocations: 0 / 339.5 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.007289, allocations: 40 kB / 339.6 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.007301, allocations: 3.984 kB / 339.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.007325, allocations: 15.94 kB / 339.6 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.007472, allocations: 59.81 kB / 339.6 MB, free: 9.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.007475, allocations: 0 / 339.6 MB, free: 9.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.007476, allocations: 0 / 339.6 MB, free: 9.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.007481, allocations: 4 kB / 339.6 MB, free: 9.223 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002633/0.007744, allocations: 364.2 kB / 340 MB, free: 8.832 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.007781, allocations: 8.031 kB / 340 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.007823, allocations: 8.891 kB / 340 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.255e-05/0.007876, allocations: 112.5 kB / 340.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.007889, allocations: 4.375 kB / 340.1 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.007897, allocations: 384 / 340.1 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.007991, allocations: 34.27 kB / 340.2 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.00801, allocations: 4.188 kB / 340.2 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.008021, allocations: 4.125 kB / 340.2 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.008028, allocations: 7.984 kB / 340.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.008051, allocations: 8 kB / 340.2 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.008158, allocations: 116.5 kB / 340.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.027e-05/0.008218, allocations: 42.98 kB / 340.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.008238, allocations: 22.25 kB / 340.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.008263, allocations: 7.984 kB / 340.4 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.008284, allocations: 37.39 kB / 340.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 9.42e-07/0.008285, allocations: 0 / 340.4 MB, free: 8.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001729/0.008458, allocations: 85.86 kB / 340.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.008482, allocations: 51.41 kB / 340.5 MB, free: 8.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.522e-05/0.008517, allocations: 146.2 kB / 340.7 MB, free: 8.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.008524, allocations: 25.7 kB / 340.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.785e-05/0.008542, allocations: 130.9 kB / 340.8 MB, free: 7.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.008589, allocations: 51.55 kB / 340.9 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.008619, allocations: 31.36 kB / 340.9 MB, free: 7.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.008688, allocations: 0.4884 MB / 341.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.008706, allocations: 8 kB / 341.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.154e-05/0.008717, allocations: 11.98 kB / 341.4 MB, free: 7.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.008762, allocations: 46.58 kB / 341.5 MB, free: 7.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.008763, allocations: 0 / 341.5 MB, free: 7.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 6.525e-05/0.008829, allocations: 69.58 kB / 341.5 MB, free: 7.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.008842, allocations: 8 kB / 341.6 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008848, allocations: 0 / 341.6 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.008863, allocations: 0 / 341.6 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.008865, allocations: 3.938 kB / 341.6 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.00887, allocations: 0 / 341.6 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.008911, allocations: 19.89 kB / 341.6 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.008917, allocations: 0 / 341.6 MB, free: 7.098 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * 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 5.613e-05/0.008973, allocations: 156.6 kB / 341.7 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.008983, allocations: 4 kB / 341.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.009018, allocations: 3.969 kB / 341.7 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.009023, allocations: 3.984 kB / 341.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.009027, allocations: 3.938 kB / 341.7 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00903, allocations: 0 / 341.7 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.107e-05/0.009091, allocations: 120.6 kB / 341.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.009092, allocations: 0 / 341.9 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.009094, allocations: 11.98 kB / 341.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.009095, allocations: 0 / 341.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.009101, allocations: 0 / 341.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.009102, allocations: 0 / 341.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.009103, allocations: 0 / 341.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.743e-05/0.00919, allocations: 120.2 kB / 342 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.009198, allocations: 4 kB / 342 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.009208, allocations: 0 / 342 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.009227, allocations: 0 / 342 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.009248, allocations: 3.938 kB / 342 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.00925, allocations: 0 / 342 MB, free: 6.609 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.827e-05/0.009268, allocations: 131.2 kB / 342.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009268, allocations: 0 / 342.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.009469, allocations: 12 kB / 342.1 MB, free: 6.469 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * 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.0004127/0.009882, allocations: 141.1 kB / 342.3 MB, free: 6.332 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.009985, allocations: 39.67 kB / 342.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009987, allocations: 0 / 342.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.01001, allocations: 27.62 kB / 342.3 MB, free: 6.258 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.01031, allocations: 32.06 kB / 342.4 MB, free: 6.227 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.01061, allocations: 190.1 kB / 342.6 MB, free: 6.012 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.01065, allocations: 71.28 kB / 342.6 MB, free: 5.922 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.01067, allocations: 4 kB / 342.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-06/0.01068, allocations: 12.5 kB / 342.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01068, allocations: 0 / 342.6 MB, free: 5.906 MB / 266.7 MB Notification: Performance of Templates: time 0.004471/0.01515, allocations: 1.672 MB / 344.3 MB, free: 4.293 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestState.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe >> ../files/ExternalMedia_ExternalMedia.Test.TestMedium.TestState.sim & ./ExternalMedia_ExternalMedia.Test.TestMedium.TestState -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.TestMedium.TestState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.471800905070268]