Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestDutyCycleGenerator.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.001401/0.001401, allocations: 88.72 kB / 19.44 MB, free: 356 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.001753/0.001753, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 158.6 MB / 184.6 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008496/0.008496, allocations: 1.443 MB / 238.3 MB, free: 13.72 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") translateModel(MEV.Test.TestDutyCycleGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestDutyCycleGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 303.9 MB, free: 61.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.137e-05, allocations: 3.406 kB / 303.9 MB, free: 61.31 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestDutyCycleGenerator): time 0.002459/0.002491, allocations: 1.396 MB / 305.3 MB, free: 60.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002858/0.002776, allocations: 95.89 kB / 305.4 MB, free: 60.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.002821, allocations: 5.281 kB / 305.4 MB, free: 60.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.002849, allocations: 4.641 kB / 305.4 MB, free: 60.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.292e-05/0.002902, allocations: 0.7031 kB / 305.4 MB, free: 60.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.003103, allocations: 13.98 kB / 305.4 MB, free: 60.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.74e-05/0.003171, allocations: 29.17 kB / 305.4 MB, free: 60.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.003261, allocations: 3.969 kB / 305.4 MB, free: 60.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.003314, allocations: 16.31 kB / 305.4 MB, free: 60.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.101e-05/0.003375, allocations: 6.984 kB / 305.4 MB, free: 60.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.003393, allocations: 1.156 kB / 305.4 MB, free: 60.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.003403, allocations: 2.281 kB / 305.4 MB, free: 60.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.003424, allocations: 10.05 kB / 305.5 MB, free: 60.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.003465, allocations: 12.84 kB / 305.5 MB, free: 60.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.859e-05/0.003554, allocations: 20.36 kB / 305.5 MB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.003557, allocations: 2.609 kB / 305.5 MB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003557, allocations: 0 / 305.5 MB, free: 60.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.003562, allocations: 0 / 305.5 MB, free: 60.24 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00044/0.004002, allocations: 262.4 kB / 305.8 MB, free: 59.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.004039, allocations: 13.7 kB / 305.8 MB, free: 59.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.004088, allocations: 3.906 kB / 305.8 MB, free: 59.97 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.737e-05/0.004155, allocations: 125.8 kB / 305.9 MB, free: 59.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.004175, allocations: 384 / 305.9 MB, free: 59.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.004186, allocations: 3.375 kB / 305.9 MB, free: 59.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.004342, allocations: 51.09 kB / 305.9 MB, free: 59.79 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.004351, allocations: 192 / 305.9 MB, free: 59.79 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.004361, allocations: 384 / 305.9 MB, free: 59.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.004366, allocations: 1.5 kB / 305.9 MB, free: 59.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.004497, allocations: 32.7 kB / 306 MB, free: 59.78 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.004766, allocations: 205.8 kB / 306.2 MB, free: 59.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.004941, allocations: 56.17 kB / 306.2 MB, free: 59.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.519e-05/0.005006, allocations: 22.38 kB / 306.3 MB, free: 59.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.005019, allocations: 1.375 kB / 306.3 MB, free: 59.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.00523, allocations: 67.66 kB / 306.3 MB, free: 59.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005231, allocations: 0 / 306.3 MB, free: 59.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003174/0.005548, allocations: 100.9 kB / 306.4 MB, free: 59.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.005581, allocations: 54.11 kB / 306.5 MB, free: 59.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.005635, allocations: 101.7 kB / 306.6 MB, free: 59.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.005644, allocations: 26.73 kB / 306.6 MB, free: 59.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.005668, allocations: 82.2 kB / 306.7 MB, free: 59.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.005691, allocations: 15.08 kB / 306.7 MB, free: 59.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.005721, allocations: 14.17 kB / 306.7 MB, free: 59.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.032e-05/0.005762, allocations: 318.2 kB / 307 MB, free: 58.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.005823, allocations: 12.66 kB / 307 MB, free: 58.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.005885, allocations: 40.5 kB / 307.1 MB, free: 58.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.005996, allocations: 53.95 kB / 307.1 MB, free: 58.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005998, allocations: 0 / 307.1 MB, free: 58.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001689/0.006167, allocations: 77.84 kB / 307.2 MB, free: 58.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.006185, allocations: 9.719 kB / 307.2 MB, free: 58.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.00619, allocations: 4.062 kB / 307.2 MB, free: 58.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.006209, allocations: 1.797 kB / 307.2 MB, free: 58.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.932e-05/0.006289, allocations: 15.66 kB / 307.2 MB, free: 58.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.006295, allocations: 1.828 kB / 307.2 MB, free: 58.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.006335, allocations: 5.594 kB / 307.2 MB, free: 58.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.00634, allocations: 1.828 kB / 307.2 MB, free: 58.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,dutyCycleGenerator.offTime,$PRE.dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.908e-05/0.006389, allocations: 117.5 kB / 307.4 MB, free: 58.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.006404, allocations: 12.25 kB / 307.4 MB, free: 58.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.006429, allocations: 7.625 kB / 307.4 MB, free: 58.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.006432, allocations: 2.391 kB / 307.4 MB, free: 58.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.006435, allocations: 4 kB / 307.4 MB, free: 58.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006438, allocations: 0 / 307.4 MB, free: 58.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.006517, allocations: 107 kB / 307.5 MB, free: 58.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006518, allocations: 1.094 kB / 307.5 MB, free: 58.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.00656, allocations: 7.719 kB / 307.5 MB, free: 58.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006561, allocations: 3.938 kB / 307.5 MB, free: 58.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.00657, allocations: 9.375 kB / 307.5 MB, free: 58.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.006572, allocations: 5.25 kB / 307.5 MB, free: 58.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006574, allocations: 0.6094 kB / 307.5 MB, free: 58.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.006748, allocations: 103.8 kB / 307.6 MB, free: 58.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.006756, allocations: 5.891 kB / 307.6 MB, free: 58.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.006771, allocations: 1.812 kB / 307.6 MB, free: 58.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.006814, allocations: 9.734 kB / 307.6 MB, free: 58.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.006855, allocations: 2.703 kB / 307.6 MB, free: 58.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.006861, allocations: 5.312 kB / 307.6 MB, free: 58.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.398e-05/0.006885, allocations: 81.16 kB / 307.7 MB, free: 58.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006885, allocations: 0 / 307.7 MB, free: 58.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.007088, allocations: 5.25 kB / 307.7 MB, free: 58.23 MB / 282.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: 2 ($whenCondition1,dutyCycleGenerator.offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.035e-05/0.007159, allocations: 97.73 kB / 307.8 MB, free: 58.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.007336, allocations: 41.83 kB / 307.9 MB, free: 58.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007337, allocations: 0 / 307.9 MB, free: 58.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.007406, allocations: 21.2 kB / 307.9 MB, free: 58.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.007554, allocations: 3.531 kB / 307.9 MB, free: 58.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.007813, allocations: 117.1 kB / 308 MB, free: 58.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/0.007848, allocations: 63.72 kB / 308.1 MB, free: 57.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.311e-05/0.007871, allocations: 11.16 kB / 308.1 MB, free: 57.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.0079, allocations: 14.69 kB / 308.1 MB, free: 57.93 MB / 282.7 MB Notification: Performance of SimCode: time 3.11e-07/0.007901, allocations: 0 / 308.1 MB, free: 57.93 MB / 282.7 MB Notification: Performance of Templates: time 0.002774/0.01067, allocations: 433.2 kB / 308.5 MB, free: 57.87 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestDutyCycleGenerator.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestDutyCycleGenerator.pipe ; mkfifo MEV_MEV.Test.TestDutyCycleGenerator.pipe ; head -c 1048576 < MEV_MEV.Test.TestDutyCycleGenerator.pipe >> ../files/MEV_MEV.Test.TestDutyCycleGenerator.sim & ./MEV_MEV.Test.TestDutyCycleGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestDutyCycleGenerator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.204357685986906]