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.001013/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001055/0.001055, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.459/1.459, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3984/0.3984, allocations: 54.92 MB / 324.3 MB, free: 12 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.001328/0.001328, allocations: 67.91 kB / 394.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1549, allocations: 59.59 MB / 454.3 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.OffTimer): time 0.2701/0.425, allocations: 1.513 MB / 455.8 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000698/0.4258, allocations: 480.6 kB / 456.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.4258, allocations: 3.344 kB / 456.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.643e-05/0.4259, allocations: 1.219 kB / 456.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-05/0.426, allocations: 15.45 kB / 456.3 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.4262, allocations: 10.44 kB / 456.3 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.52e-05/0.4263, allocations: 48.42 kB / 456.4 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.4264, allocations: 14.44 kB / 456.4 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.4264, allocations: 18.2 kB / 456.4 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.4265, allocations: 25.83 kB / 456.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.4265, allocations: 5.594 kB / 456.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.4265, allocations: 0.5625 kB / 456.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.4266, allocations: 11.11 kB / 456.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.4266, allocations: 22.77 kB / 456.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.168e-05/0.4267, allocations: 42.62 kB / 456.5 MB, free: 39.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.4267, allocations: 3.969 kB / 456.5 MB, free: 39.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.4267, allocations: 0 / 456.5 MB, free: 39.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.4267, allocations: 0 / 456.5 MB, free: 39.01 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.00044/0.4272, allocations: 356.3 kB / 456.8 MB, free: 38.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.4272, allocations: 9.031 kB / 456.8 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.4273, allocations: 9.109 kB / 456.9 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/0.4274, allocations: 166.5 kB / 457 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4274, allocations: 7.938 kB / 457 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.4274, allocations: 3.094 kB / 457 MB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.4275, allocations: 60.59 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4275, allocations: 0 / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4275, allocations: 3.688 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4276, allocations: 1.875 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.637e-05/0.4276, allocations: 30.44 kB / 457.1 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.428, allocations: 306.3 kB / 457.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.069e-05/0.4281, allocations: 54.58 kB / 457.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/0.4282, allocations: 25.77 kB / 457.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.4282, allocations: 0 / 457.5 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.4284, allocations: 76.98 kB / 457.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.4284, allocations: 0 / 457.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002025/0.4286, allocations: 104.3 kB / 457.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4286, allocations: 61.14 kB / 457.7 MB, free: 37.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.4287, allocations: 103.8 kB / 457.8 MB, free: 37.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4287, allocations: 28.58 kB / 457.9 MB, free: 37.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.4288, allocations: 90.42 kB / 458 MB, free: 37.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4288, allocations: 21.72 kB / 458 MB, free: 37.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.4288, allocations: 30.25 kB / 458 MB, free: 37.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.4289, allocations: 318 kB / 458.3 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.4289, allocations: 23.39 kB / 458.3 MB, free: 37.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.858e-05/0.429, allocations: 47.83 kB / 458.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.399e-05/0.4291, allocations: 62.81 kB / 458.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4291, allocations: 0 / 458.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001165/0.4292, allocations: 100.9 kB / 458.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4292, allocations: 7.25 kB / 458.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4292, allocations: 0 / 458.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4293, allocations: 4.406 kB / 458.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.4293, allocations: 10.75 kB / 458.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4293, allocations: 5.766 kB / 458.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.4294, allocations: 15.72 kB / 458.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.4294, allocations: 2.938 kB / 458.6 MB, free: 37.32 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.909e-05/0.4295, allocations: 123 kB / 458.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.4295, allocations: 9.844 kB / 458.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.4296, allocations: 7.656 kB / 458.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.4296, allocations: 4.812 kB / 458.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4296, allocations: 2.875 kB / 458.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4296, allocations: 0 / 458.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.4299, allocations: 357.4 kB / 459.1 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4299, allocations: 5.5 kB / 459.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.43, allocations: 7.344 kB / 459.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.43, allocations: 0 / 459.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.43, allocations: 3.75 kB / 459.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.43, allocations: 3.938 kB / 459.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.43, allocations: 3.562 kB / 459.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.4301, allocations: 180 kB / 459.3 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.4302, allocations: 83.22 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4302, allocations: 3.188 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.4303, allocations: 10.89 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4303, allocations: 12.17 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.4304, allocations: 3.625 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.42e-05/0.4304, allocations: 78.25 kB / 459.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4304, allocations: 0 / 459.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.4306, allocations: 21.28 kB / 459.5 MB, free: 36.58 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 0.0001044/0.4307, allocations: 103 kB / 459.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.4309, allocations: 51.27 kB / 459.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4309, allocations: 3.688 kB / 459.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.4309, allocations: 26.44 kB / 459.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.4312, allocations: 12.84 kB / 459.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.4317, allocations: 177 kB / 459.9 MB, free: 36.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.432, allocations: 0.6905 MB / 460.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.642e-05/0.432, allocations: 9.859 kB / 460.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.432, allocations: 12.56 kB / 460.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4321, allocations: 0 / 460.6 MB, free: 35.67 MB / 382.1 MB Notification: Performance of Templates: time 0.003197/0.4353, allocations: 0.6836 MB / 461.3 MB, free: 35.63 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)