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.009706/0.009706, allocations: 95.97 kB / 15.73 MB, free: 6.055 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.001748/0.001748, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.647/1.647, allocations: 205.1 MB / 222.5 MB, free: 4.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4096/0.4096, allocations: 54.95 MB / 324.8 MB, free: 96 kB / 254.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.001523/0.001523, allocations: 73.17 kB / 456.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1185, allocations: 59.59 MB / 0.5038 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.002123/0.1206, allocations: 1.455 MB / 0.5052 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006101/0.1212, allocations: 493.5 kB / 0.5057 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.1213, allocations: 0 / 0.5057 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.1213, allocations: 5.312 kB / 0.5057 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.828e-05/0.1214, allocations: 15.92 kB / 0.5057 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.1216, allocations: 16.11 kB / 0.5057 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.415e-05/0.1217, allocations: 56.41 kB / 0.5058 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1218, allocations: 13.48 kB / 0.5058 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.1219, allocations: 20.19 kB / 0.5058 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.1219, allocations: 25.39 kB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.122, allocations: 4.125 kB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.122, allocations: 4.125 kB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.122, allocations: 13.36 kB / 0.5058 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.1221, allocations: 22.75 kB / 0.5059 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1222, allocations: 42.77 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1222, allocations: 1.375 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1222, allocations: 0 / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1222, allocations: 0 / 0.5059 GB, free: 7.977 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.0004779/0.1227, allocations: 361.3 kB / 0.5062 GB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1227, allocations: 9.625 kB / 0.5062 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1228, allocations: 11.67 kB / 0.5063 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1229, allocations: 175 kB / 0.5064 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1229, allocations: 7.125 kB / 0.5064 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.123, allocations: 8.438 kB / 0.5064 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1231, allocations: 63.67 kB / 0.5065 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1231, allocations: 3.984 kB / 0.5065 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1231, allocations: 4 kB / 0.5065 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1231, allocations: 1.375 kB / 0.5065 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.1232, allocations: 21.73 kB / 0.5065 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.1237, allocations: 298.9 kB / 0.5068 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1238, allocations: 48.97 kB / 0.5069 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.1239, allocations: 28.91 kB / 0.5069 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1239, allocations: 1.375 kB / 0.5069 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.1241, allocations: 83.38 kB / 0.507 GB, free: 6.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.1241, allocations: 0 / 0.507 GB, free: 6.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002428/0.1243, allocations: 98.33 kB / 0.5071 GB, free: 6.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.1244, allocations: 54 kB / 0.5071 GB, free: 6.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.418e-05/0.1244, allocations: 111.6 kB / 0.5072 GB, free: 6.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1245, allocations: 27.64 kB / 0.5072 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.1245, allocations: 85.55 kB / 0.5073 GB, free: 6.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.1245, allocations: 26.67 kB / 0.5074 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.1246, allocations: 22.53 kB / 0.5074 GB, free: 6.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.1246, allocations: 328.5 kB / 0.5077 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.674e-05/0.1247, allocations: 14 kB / 0.5077 GB, free: 6.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.401e-05/0.1248, allocations: 48.73 kB / 0.5077 GB, free: 6.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.1248, allocations: 66.3 kB / 0.5078 GB, free: 6.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1248, allocations: 0 / 0.5078 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000135/0.125, allocations: 97.97 kB / 0.5079 GB, free: 5.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.125, allocations: 10.88 kB / 0.5079 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.125, allocations: 64 / 0.5079 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.125, allocations: 5.344 kB / 0.5079 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.1251, allocations: 12.91 kB / 0.5079 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1251, allocations: 5.312 kB / 0.5079 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.1252, allocations: 11.83 kB / 0.508 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1252, allocations: 4.875 kB / 0.508 GB, free: 5.938 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 6.638e-05/0.1253, allocations: 130 kB / 0.5081 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.1253, allocations: 14.31 kB / 0.5081 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.1254, allocations: 5.094 kB / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1254, allocations: 1.469 kB / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1254, allocations: 0 / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1254, allocations: 0 / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.1257, allocations: 359.9 kB / 0.5084 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1257, allocations: 0 / 0.5084 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.1258, allocations: 3.75 kB / 0.5084 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1258, allocations: 9.188 kB / 0.5085 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1258, allocations: 1.219 kB / 0.5085 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1258, allocations: 3.938 kB / 0.5085 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1258, allocations: 1.219 kB / 0.5085 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.1259, allocations: 183.3 kB / 0.5086 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.126, allocations: 78.55 kB / 0.5087 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.126, allocations: 1.062 kB / 0.5087 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.1261, allocations: 15.64 kB / 0.5087 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1261, allocations: 12.67 kB / 0.5087 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.1261, allocations: 1.281 kB / 0.5087 GB, free: 5.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.33e-05/0.1262, allocations: 79.03 kB / 0.5088 GB, free: 5.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 1.25 kB / 0.5088 GB, free: 5.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1264, allocations: 22.77 kB / 0.5088 GB, free: 5.059 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 8.817e-05/0.1265, allocations: 105.2 kB / 0.5089 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.1267, allocations: 53.33 kB / 0.509 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1267, allocations: 0 / 0.509 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.169e-05/0.1267, allocations: 25.62 kB / 0.509 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.127, allocations: 9.703 kB / 0.509 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.1273, allocations: 160.9 kB / 0.5092 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.1274, allocations: 0.6874 MB / 0.5098 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.1275, allocations: 11.97 kB / 0.5099 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.1275, allocations: 11.28 kB / 0.5099 GB, free: 4.066 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1275, allocations: 0 / 0.5099 GB, free: 4.066 MB / 382.1 MB Notification: Performance of Templates: time 0.002785/0.1303, allocations: 0.7889 MB / 0.5106 GB, free: 3.41 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)