Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSequencer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) 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.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(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 101.6 kB / 16.27 MB, free: 5.949 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.001147/0.001148, allocations: 190.6 kB / 17.2 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.143/1.143, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007363/0.007364, allocations: 1.935 MB / 272.4 MB, free: 10.14 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 330.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06903/0.07039, allocations: 47.12 MB / 377.6 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.116/0.1865, allocations: 1.423 MB / 379.1 MB, free: 52.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002766/0.1868, allocations: 126.8 kB / 379.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.1868, allocations: 0 / 379.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.34e-05/0.187, allocations: 12.34 kB / 379.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.1871, allocations: 12.84 kB / 379.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.395e-05/0.1872, allocations: 20.77 kB / 379.2 MB, free: 52.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.1877, allocations: 0.7375 MB / 380 MB, free: 52.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.1881, allocations: 405.5 kB / 380.4 MB, free: 52.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.1883, allocations: 373.6 kB / 380.7 MB, free: 52.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.1888, allocations: 0.5484 MB / 381.3 MB, free: 52.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.1889, allocations: 98.97 kB / 381.4 MB, free: 52.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1891, allocations: 93.91 kB / 381.5 MB, free: 52.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1893, allocations: 267 kB / 381.7 MB, free: 52.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003162/0.1896, allocations: 417.7 kB / 382.1 MB, free: 52.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.1903, allocations: 0.988 MB / 383.1 MB, free: 51.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1903, allocations: 0 / 383.1 MB, free: 51.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1903, allocations: 0 / 383.1 MB, free: 51.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1903, allocations: 0 / 383.1 MB, free: 51.84 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002676/0.193, allocations: 1.431 MB / 384.5 MB, free: 51.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1931, allocations: 13.52 kB / 384.6 MB, free: 51.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1932, allocations: 81.45 kB / 384.6 MB, free: 51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.1938, allocations: 0.5268 MB / 385.2 MB, free: 50.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-05/0.1939, allocations: 62.58 kB / 385.2 MB, free: 50.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.194, allocations: 55.75 kB / 385.3 MB, free: 50.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.196, allocations: 1.244 MB / 386.5 MB, free: 50.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1961, allocations: 3.75 kB / 386.5 MB, free: 50.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.1961, allocations: 23.61 kB / 386.6 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1962, allocations: 13.75 kB / 386.6 MB, free: 50.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005468/0.2016, allocations: 3.172 MB / 389.7 MB, free: 49.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.2051, allocations: 2.414 MB / 392.2 MB, free: 48.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.2079, allocations: 1.7 MB / 393.9 MB, free: 47.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003024/0.2109, allocations: 2.117 MB / 396 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-05/0.211, allocations: 7.969 kB / 396 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001753/0.2127, allocations: 1.291 MB / 397.3 MB, free: 46.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 2.335e-06/0.2128, allocations: 0 / 397.3 MB, free: 46.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.004568/0.2173, allocations: 2.862 MB / 400.1 MB, free: 44.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2174, allocations: 83.62 kB / 400.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.2179, allocations: 0.5166 MB / 400.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/0.218, allocations: 61.72 kB / 400.8 MB, free: 44.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.2182, allocations: 276.8 kB / 401.1 MB, free: 44.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.2184, allocations: 294.2 kB / 401.3 MB, free: 43.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000273/0.2187, allocations: 161.1 kB / 401.5 MB, free: 43.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.2187, allocations: 389.7 kB / 401.9 MB, free: 43.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.22, allocations: 0.7398 MB / 402.6 MB, free: 42.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.2212, allocations: 1.03 MB / 403.7 MB, free: 41.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.2235, allocations: 1.792 MB / 405.4 MB, free: 39.89 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2236, allocations: 0 / 405.4 MB, free: 39.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002685/0.2262, allocations: 1.836 MB / 407.3 MB, free: 38.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.2263, allocations: 8.781 kB / 407.3 MB, free: 38.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2263, allocations: 13.41 kB / 407.3 MB, free: 38.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2263, allocations: 12 kB / 407.3 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008493/0.2272, allocations: 237.8 kB / 407.6 MB, free: 37.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.2272, allocations: 25.52 kB / 407.6 MB, free: 37.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006257/0.2278, allocations: 151.3 kB / 407.7 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.2279, allocations: 40 kB / 407.8 MB, free: 37.64 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sequencer.generators[20].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[1].offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 119 * 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 0.0003334/0.2282, allocations: 399 kB / 408.2 MB, free: 37.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.2283, allocations: 71.16 kB / 408.2 MB, free: 37.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.2285, allocations: 135.2 kB / 408.4 MB, free: 37.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2286, allocations: 12 kB / 408.4 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.2286, allocations: 0 / 408.4 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2286, allocations: 3.984 kB / 408.4 MB, free: 37.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.2295, allocations: 1.097 MB / 409.5 MB, free: 35.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2295, allocations: 0 / 409.5 MB, free: 35.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.2302, allocations: 193.1 kB / 409.7 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2303, allocations: 4 kB / 409.7 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.306e-05/0.2303, allocations: 23.98 kB / 409.7 MB, free: 35.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2303, allocations: 4 kB / 409.7 MB, free: 35.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2303, allocations: 0 / 409.7 MB, free: 35.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/0.2335, allocations: 2.058 MB / 411.7 MB, free: 33.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.2336, allocations: 148.1 kB / 411.9 MB, free: 33.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2337, allocations: 21.3 kB / 411.9 MB, free: 33.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.2343, allocations: 122.3 kB / 412 MB, free: 33.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006725/0.235, allocations: 452.3 kB / 412.5 MB, free: 32.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/0.2351, allocations: 34.98 kB / 412.5 MB, free: 32.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002723/0.2354, allocations: 383 kB / 412.9 MB, free: 32.46 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2354, allocations: 0 / 412.9 MB, free: 32.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005222/0.2359, allocations: 231.6 kB / 413.1 MB, free: 32.23 MB / 318.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: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sequencer.generators[1].offTime,sequencer.generators[2].offTime,sequencer.generators[3].offTime,sequencer.generators[4].offTime,sequencer.generators[5].offTime,sequencer.generators[6].offTime,sequencer.generators[7].offTime,sequencer.generators[8].offTime,sequencer.generators[9].offTime,sequencer.generators[10].offTime,sequencer.generators[11].offTime,sequencer.generators[12].offTime,sequencer.generators[13].offTime,sequencer.generators[14].offTime,sequencer.generators[15].offTime,sequencer.generators[16].offTime,sequencer.generators[17].offTime,sequencer.generators[18].offTime,sequencer.generators[19].offTime,sequencer.generators[20].offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0001487/0.236, allocations: 133.3 kB / 413.2 MB, free: 32.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.2395, allocations: 2.423 MB / 415.7 MB, free: 29.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2395, allocations: 1 kB / 415.7 MB, free: 29.72 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.241, allocations: 1.119 MB / 416.8 MB, free: 28.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2413, allocations: 53.89 kB / 416.8 MB, free: 28.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.2443, allocations: 2.487 MB / 419.3 MB, free: 26.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2447, allocations: 1.059 MB / 420.4 MB, free: 24.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.245, allocations: 67.44 kB / 420.4 MB, free: 24.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.245, allocations: 0 / 420.4 MB, free: 24.89 MB / 318.1 MB Notification: Performance of Templates: time 0.01099/0.256, allocations: 12.17 MB / 432.6 MB, free: 12.88 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestSequencer.makefile (rm -f MEV_MEV.Test.TestSequencer.pipe ; mkfifo MEV_MEV.Test.TestSequencer.pipe ; head -c 1048576 < MEV_MEV.Test.TestSequencer.pipe >> ../files/MEV_MEV.Test.TestSequencer.sim & ./MEV_MEV.Test.TestSequencer -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSequencer.pipe 2>&1)