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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001249/0.001249, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.498/1.498, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.407/0.407, allocations: 54.92 MB / 324.3 MB, free: 156 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.002403/0.002404, allocations: 67.89 kB / 394.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1652, allocations: 59.59 MB / 454.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresis): time 0.2774/0.4427, allocations: 2.998 MB / 457.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.4445, allocations: 0.9659 MB / 458.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.4447, allocations: 17.81 kB / 458.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.445, allocations: 46.14 kB / 458.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.4452, allocations: 73.36 kB / 458.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.4457, allocations: 220.3 kB / 458.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.4461, allocations: 467.1 kB / 459.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.4465, allocations: 206.8 kB / 459.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.4467, allocations: 155.3 kB / 459.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.4469, allocations: 165.9 kB / 459.6 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.4469, allocations: 20.34 kB / 459.6 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.447, allocations: 21.28 kB / 459.6 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.739e-05/0.447, allocations: 68.95 kB / 459.7 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.4472, allocations: 188.5 kB / 459.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.4475, allocations: 466.1 kB / 460.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4476, allocations: 0 / 460.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4476, allocations: 0 / 460.3 MB, free: 37.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.4476, allocations: 0 / 460.3 MB, free: 37.85 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.00107/0.4487, allocations: 0.7229 MB / 461 MB, free: 37.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4487, allocations: 8.969 kB / 461.1 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.4488, allocations: 54.06 kB / 461.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.4493, allocations: 398 kB / 461.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4493, allocations: 23.56 kB / 461.5 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.872e-05/0.4494, allocations: 36.09 kB / 461.6 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000545/0.4499, allocations: 342.9 kB / 461.9 MB, free: 36.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.45, allocations: 1.031 kB / 461.9 MB, free: 36.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.45, allocations: 11 kB / 461.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.45, allocations: 8.656 kB / 461.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.4504, allocations: 218.6 kB / 462.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.452, allocations: 1.198 MB / 463.3 MB, free: 35.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.4526, allocations: 236.7 kB / 463.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.4528, allocations: 118.6 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.4528, allocations: 3.312 kB / 463.7 MB, free: 35.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.4529, allocations: 34.5 kB / 463.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.4529, allocations: 2.562 kB / 463.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007011/0.4536, allocations: 289.7 kB / 464 MB, free: 35.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.4536, allocations: 105.7 kB / 464.1 MB, free: 35.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.454, allocations: 347.3 kB / 464.4 MB, free: 35.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.454, allocations: 29.14 kB / 464.5 MB, free: 35.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.4542, allocations: 228.3 kB / 464.7 MB, free: 35.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.4543, allocations: 73.45 kB / 464.8 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.4544, allocations: 60.72 kB / 464.8 MB, free: 35.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4545, allocations: 348.9 kB / 465.2 MB, free: 34.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.4547, allocations: 82.72 kB / 465.2 MB, free: 34.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.4549, allocations: 141.9 kB / 465.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.4553, allocations: 218.4 kB / 465.6 MB, free: 34.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4553, allocations: 0 / 465.6 MB, free: 34.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004361/0.4557, allocations: 286.4 kB / 465.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.4557, allocations: 5.844 kB / 465.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4558, allocations: 3.969 kB / 465.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4558, allocations: 11.44 kB / 465.9 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.456, allocations: 52.95 kB / 465.9 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.456, allocations: 2.938 kB / 465.9 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.4562, allocations: 33.48 kB / 466 MB, free: 34.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.4562, allocations: 12.75 kB / 466 MB, free: 34.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002148/0.4564, allocations: 191 kB / 466.2 MB, free: 34.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001636/0.4566, allocations: 141.7 kB / 466.3 MB, free: 34.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002589/0.4569, allocations: 202.7 kB / 466.5 MB, free: 33.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.4569, allocations: 0.7812 kB / 466.5 MB, free: 33.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0003689/0.4573, allocations: 276.3 kB / 466.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.4573, allocations: 9.688 kB / 466.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/0.4573, allocations: 192 / 466.8 MB, free: 33.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-06/0.4573, allocations: 8.594 kB / 466.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.4575, allocations: 47.75 kB / 466.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.4575, allocations: 7.344 kB / 466.9 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.4577, allocations: 32.2 kB / 466.9 MB, free: 33.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.4577, allocations: 12.44 kB / 466.9 MB, free: 33.71 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 9.72e-05/0.4578, allocations: 198.8 kB / 467.1 MB, free: 33.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.4579, allocations: 37.94 kB / 467.1 MB, free: 33.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.458, allocations: 42.5 kB / 467.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.458, allocations: 0 / 467.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.458, allocations: 2.938 kB / 467.2 MB, free: 33.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.458, allocations: 7.125 kB / 467.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.4583, allocations: 391.9 kB / 467.6 MB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4584, allocations: 0 / 467.6 MB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.4586, allocations: 38.73 kB / 467.6 MB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4586, allocations: 0 / 467.6 MB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.4586, allocations: 7.562 kB / 467.6 MB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4586, allocations: 6.906 kB / 467.6 MB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4586, allocations: 5 kB / 467.6 MB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.4592, allocations: 420.6 kB / 468 MB, free: 32.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4594, allocations: 127.2 kB / 468.2 MB, free: 32.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.4594, allocations: 7.328 kB / 468.2 MB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.4596, allocations: 25.36 kB / 468.2 MB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.4597, allocations: 20.16 kB / 468.2 MB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.4597, allocations: 12.5 kB / 468.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.4599, allocations: 239.3 kB / 468.4 MB, free: 32.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4599, allocations: 0 / 468.4 MB, free: 32.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000413/0.4603, allocations: 120.6 kB / 468.6 MB, free: 32.61 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.000109/0.4604, allocations: 113.4 kB / 468.7 MB, free: 32.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005906/0.461, allocations: 313 kB / 469 MB, free: 32.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.461, allocations: 0 / 469 MB, free: 32.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.4612, allocations: 105.5 kB / 469.1 MB, free: 32.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.4619, allocations: 85.91 kB / 469.2 MB, free: 32.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.4633, allocations: 0.8387 MB / 470 MB, free: 31.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4636, allocations: 0.8008 MB / 470.8 MB, free: 31.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.4638, allocations: 40.58 kB / 470.8 MB, free: 31.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.648e-05/0.4639, allocations: 30.19 kB / 470.9 MB, free: 31.07 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4639, allocations: 0 / 470.9 MB, free: 31.07 MB / 382.1 MB Notification: Performance of Templates: time 0.006977/0.4709, allocations: 3.211 MB / 474.1 MB, free: 30.88 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)