Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") translateModel(Annex60.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009384/0.009384, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.001544/0.001544, allocations: 194 kB / 16.67 MB, free: 5.949 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4136/0.4136, allocations: 54.95 MB / 324.8 MB, free: 15.96 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 71 kB / 456.2 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1354, allocations: 59.58 MB / 0.5037 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.002655/0.1381, allocations: 1.459 MB / 0.5051 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007928/0.1389, allocations: 492.2 kB / 0.5056 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.139, allocations: 1.375 kB / 0.5056 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.139, allocations: 7.938 kB / 0.5056 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.1392, allocations: 7.922 kB / 0.5056 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.1393, allocations: 24.05 kB / 0.5056 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.1394, allocations: 52.47 kB / 0.5057 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1396, allocations: 13.48 kB / 0.5057 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.1397, allocations: 20.17 kB / 0.5057 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.1398, allocations: 17.42 kB / 0.5057 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1398, allocations: 4.125 kB / 0.5057 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.1398, allocations: 8.125 kB / 0.5057 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.1398, allocations: 17.3 kB / 0.5057 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.1399, allocations: 22.73 kB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.14, allocations: 42.88 kB / 0.5058 GB, free: 8.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.14, allocations: 1.375 kB / 0.5058 GB, free: 8.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.14, allocations: 0 / 0.5058 GB, free: 8.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.1401, allocations: 0 / 0.5058 GB, free: 8.004 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005712/0.1406, allocations: 357.4 kB / 0.5061 GB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1407, allocations: 9.625 kB / 0.5062 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1407, allocations: 11.59 kB / 0.5062 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1409, allocations: 167.1 kB / 0.5063 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1409, allocations: 7.109 kB / 0.5063 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1409, allocations: 12.44 kB / 0.5063 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.141, allocations: 59.69 kB / 0.5064 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1411, allocations: 0 / 0.5064 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1411, allocations: 0 / 0.5064 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1411, allocations: 5.359 kB / 0.5064 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.1412, allocations: 25.73 kB / 0.5064 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.1416, allocations: 298.8 kB / 0.5067 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1417, allocations: 57.94 kB / 0.5068 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.1418, allocations: 27.84 kB / 0.5068 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.1418, allocations: 5.375 kB / 0.5068 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.142, allocations: 79.91 kB / 0.5069 GB, free: 6.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.142, allocations: 0 / 0.5069 GB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002633/0.1423, allocations: 93.62 kB / 0.507 GB, free: 6.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.1423, allocations: 62.12 kB / 0.507 GB, free: 6.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.1424, allocations: 103.3 kB / 0.5071 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1425, allocations: 31.08 kB / 0.5072 GB, free: 6.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1425, allocations: 86.88 kB / 0.5072 GB, free: 6.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.1425, allocations: 18.47 kB / 0.5073 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1426, allocations: 33.95 kB / 0.5073 GB, free: 6.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.1426, allocations: 321.5 kB / 0.5076 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.1427, allocations: 17.61 kB / 0.5076 GB, free: 6.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.557e-05/0.1427, allocations: 43.8 kB / 0.5077 GB, free: 6.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.349e-05/0.1428, allocations: 62.75 kB / 0.5077 GB, free: 6.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1428, allocations: 4 kB / 0.5077 GB, free: 6.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001198/0.1429, allocations: 94.67 kB / 0.5078 GB, free: 6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.143, allocations: 5.5 kB / 0.5078 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.143, allocations: 1.375 kB / 0.5078 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.143, allocations: 1.375 kB / 0.5078 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.1431, allocations: 12.23 kB / 0.5078 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1431, allocations: 5.312 kB / 0.5078 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.1432, allocations: 15.97 kB / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1432, allocations: 4.125 kB / 0.5079 GB, free: 5.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.449e-05/0.1433, allocations: 129.8 kB / 0.508 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.1433, allocations: 6.641 kB / 0.508 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.1433, allocations: 9.594 kB / 0.508 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1433, allocations: 1.312 kB / 0.508 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1433, allocations: 4.359 kB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1433, allocations: 1.312 kB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.1437, allocations: 362.8 kB / 0.5083 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1437, allocations: 0 / 0.5083 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.1437, allocations: 7.594 kB / 0.5084 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1437, allocations: 5.094 kB / 0.5084 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1438, allocations: 9.078 kB / 0.5084 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1438, allocations: 3.938 kB / 0.5084 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1438, allocations: 0.875 kB / 0.5084 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1439, allocations: 172.2 kB / 0.5085 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.1439, allocations: 86.22 kB / 0.5086 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.144, allocations: 5.281 kB / 0.5086 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.1441, allocations: 11.62 kB / 0.5086 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.1441, allocations: 7.953 kB / 0.5086 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.1441, allocations: 2.406 kB / 0.5086 GB, free: 5.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.894e-05/0.1442, allocations: 86.83 kB / 0.5087 GB, free: 5.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1442, allocations: 0 / 0.5087 GB, free: 5.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.1444, allocations: 19.59 kB / 0.5087 GB, free: 5.094 MB / 382.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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.364e-05/0.1445, allocations: 96.56 kB / 0.5088 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.1447, allocations: 61.73 kB / 0.5089 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1447, allocations: 0 / 0.5089 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.1447, allocations: 28.89 kB / 0.5089 GB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.145, allocations: 13.64 kB / 0.5089 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.1454, allocations: 167 kB / 0.5091 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.1456, allocations: 0.6831 MB / 0.5098 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.413e-05/0.1457, allocations: 15.95 kB / 0.5098 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.1457, allocations: 10.53 kB / 0.5098 GB, free: 4.094 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1457, allocations: 0 / 0.5098 GB, free: 4.094 MB / 382.1 MB Notification: Performance of Templates: time 0.002977/0.1487, allocations: 0.7655 MB / 0.5105 GB, free: 3.598 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.OffTimer.pipe 2>&1)