Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.00135, allocations: 196.9 kB / 16.53 MB, free: 6.391 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.57/1.57, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4387/0.4387, allocations: 54.95 MB / 324.7 MB, free: 15.93 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.002082/0.002082, allocations: 67.89 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1748, allocations: 59.59 MB / 454.9 MB, free: 176 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresis): time 0.3203/0.4951, allocations: 2.959 MB / 457.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.4981, allocations: 0.9944 MB / 458.9 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000731/0.4989, allocations: 12.94 kB / 458.9 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.4993, allocations: 72.89 kB / 459 MB, free: 37.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.4996, allocations: 90.53 kB / 459 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.5002, allocations: 236.2 kB / 459.3 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.5007, allocations: 0.4963 MB / 459.8 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000389/0.5011, allocations: 221.4 kB / 460 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.5013, allocations: 177.1 kB / 460.2 MB, free: 37.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.5015, allocations: 184.3 kB / 460.3 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.5016, allocations: 47.97 kB / 460.4 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.5017, allocations: 43.53 kB / 460.4 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.5018, allocations: 93.34 kB / 460.5 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.502, allocations: 211.2 kB / 460.7 MB, free: 37.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.5025, allocations: 485.2 kB / 461.2 MB, free: 37.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5025, allocations: 0 / 461.2 MB, free: 37.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5025, allocations: 0 / 461.2 MB, free: 37.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.5025, allocations: 3.938 kB / 461.2 MB, free: 37.35 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001088/0.5036, allocations: 0.7196 MB / 461.9 MB, free: 36.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5037, allocations: 8.656 kB / 461.9 MB, free: 36.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.532e-05/0.5038, allocations: 48.19 kB / 462 MB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.5043, allocations: 398.5 kB / 462.4 MB, free: 36.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.5043, allocations: 25.22 kB / 462.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.857e-05/0.5044, allocations: 34.56 kB / 462.4 MB, free: 36.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.505, allocations: 345.4 kB / 462.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.505, allocations: 0.6562 kB / 462.8 MB, free: 36.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.5051, allocations: 11.5 kB / 462.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.5051, allocations: 6.75 kB / 462.8 MB, free: 36.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.5056, allocations: 220.2 kB / 463 MB, free: 36.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.5069, allocations: 1.198 MB / 464.2 MB, free: 35.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.5075, allocations: 231 kB / 464.4 MB, free: 35.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.5077, allocations: 116.5 kB / 464.5 MB, free: 35.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.5077, allocations: 5.125 kB / 464.5 MB, free: 35.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.5078, allocations: 38.5 kB / 464.6 MB, free: 35.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.5078, allocations: 0 / 464.6 MB, free: 35.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006295/0.5084, allocations: 293.1 kB / 464.9 MB, free: 34.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.5085, allocations: 106.6 kB / 465 MB, free: 34.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.5088, allocations: 340.8 kB / 465.3 MB, free: 34.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.5088, allocations: 32.58 kB / 465.3 MB, free: 34.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.5089, allocations: 223.9 kB / 465.5 MB, free: 34.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.163e-05/0.509, allocations: 78.16 kB / 465.6 MB, free: 34.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.5091, allocations: 52.38 kB / 465.7 MB, free: 34.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.065e-05/0.5092, allocations: 350 kB / 466 MB, free: 34.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.5094, allocations: 87.73 kB / 466.1 MB, free: 33.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.5096, allocations: 145.4 kB / 466.2 MB, free: 33.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.5099, allocations: 214.2 kB / 466.5 MB, free: 33.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.5099, allocations: 0 / 466.5 MB, free: 33.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004413/0.5104, allocations: 295.1 kB / 466.7 MB, free: 33.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5104, allocations: 5.656 kB / 466.7 MB, free: 33.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5104, allocations: 0 / 466.7 MB, free: 33.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.5104, allocations: 6.812 kB / 466.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.5107, allocations: 60 kB / 466.8 MB, free: 33.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5107, allocations: 4.016 kB / 466.8 MB, free: 33.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.5109, allocations: 32.61 kB / 466.8 MB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.5109, allocations: 11.58 kB / 466.9 MB, free: 33.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002015/0.5111, allocations: 191.4 kB / 467 MB, free: 33.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001461/0.5112, allocations: 148.2 kB / 467.2 MB, free: 33.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002585/0.5115, allocations: 201.5 kB / 467.4 MB, free: 33.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.5115, allocations: 3.625 kB / 467.4 MB, free: 33.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0003574/0.5119, allocations: 266.3 kB / 467.7 MB, free: 33.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.5119, allocations: 9.766 kB / 467.7 MB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.5119, allocations: 3.344 kB / 467.7 MB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.879e-06/0.5119, allocations: 4.25 kB / 467.7 MB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.5121, allocations: 50.67 kB / 467.7 MB, free: 33.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5121, allocations: 14.38 kB / 467.7 MB, free: 33.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.5123, allocations: 29.72 kB / 467.8 MB, free: 33.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.5123, allocations: 6.406 kB / 467.8 MB, free: 33.03 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001006/0.5124, allocations: 199.3 kB / 468 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.5125, allocations: 41.03 kB / 468 MB, free: 32.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.5126, allocations: 38.8 kB / 468 MB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5126, allocations: 2.875 kB / 468 MB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5126, allocations: 4 kB / 468 MB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5126, allocations: 6.781 kB / 468.1 MB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.5129, allocations: 392 kB / 468.4 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.513, allocations: 0 / 468.4 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.5132, allocations: 43.56 kB / 468.5 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5132, allocations: 2.688 kB / 468.5 MB, free: 32.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.5132, allocations: 4 kB / 468.5 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5132, allocations: 2.594 kB / 468.5 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5132, allocations: 0 / 468.5 MB, free: 32.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.5139, allocations: 426.5 kB / 468.9 MB, free: 32.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.573e-05/0.514, allocations: 131.3 kB / 469 MB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.436e-05/0.514, allocations: 7.688 kB / 469 MB, free: 32.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.5142, allocations: 17.47 kB / 469.1 MB, free: 32.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.5143, allocations: 23.2 kB / 469.1 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5143, allocations: 5.188 kB / 469.1 MB, free: 32.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.5145, allocations: 245.3 kB / 469.3 MB, free: 31.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5145, allocations: 0 / 469.3 MB, free: 31.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004223/0.5149, allocations: 123.2 kB / 469.4 MB, free: 31.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001144/0.5151, allocations: 108.7 kB / 469.6 MB, free: 31.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006039/0.5157, allocations: 328.1 kB / 469.9 MB, free: 31.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5157, allocations: 0 / 469.9 MB, free: 31.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.5159, allocations: 97.58 kB / 470 MB, free: 31.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.5165, allocations: 90.88 kB / 470.1 MB, free: 31.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.5176, allocations: 0.7102 MB / 470.8 MB, free: 31.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.5179, allocations: 0.7906 MB / 471.6 MB, free: 30.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.5181, allocations: 48.67 kB / 471.6 MB, free: 30.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.5182, allocations: 27.97 kB / 471.6 MB, free: 30.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5182, allocations: 0 / 471.6 MB, free: 30.51 MB / 382.1 MB Notification: Performance of Templates: time 0.006807/0.525, allocations: 3.433 MB / 475.1 MB, free: 30.3 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)