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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 191.6 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2974/0.2974, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "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.003355/0.003355, allocations: 70.56 kB / 482 MB, free: 6.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5732/0.5766, allocations: 62.87 MB / 0.5321 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.PIDHysteresis): time 0.006267/0.5828, allocations: 3.001 MB / 0.5351 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.5858, allocations: 1.007 MB / 0.536 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.5862, allocations: 17.59 kB / 0.5361 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.5865, allocations: 67.28 kB / 0.5361 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.5868, allocations: 97.5 kB / 0.5362 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.5875, allocations: 245.6 kB / 0.5364 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007354/0.5882, allocations: 0.5014 MB / 0.5369 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.5887, allocations: 160 kB / 0.5371 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.5891, allocations: 191.3 kB / 0.5373 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.5894, allocations: 183.8 kB / 0.5374 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.5895, allocations: 48.44 kB / 0.5375 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.5897, allocations: 43.66 kB / 0.5375 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.5898, allocations: 95.97 kB / 0.5376 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.59, allocations: 203.9 kB / 0.5378 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.5912, allocations: 0.5009 MB / 0.5383 GB, free: 3.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.5912, allocations: 1 kB / 0.5383 GB, free: 3.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.829e-06/0.5912, allocations: 0 / 0.5383 GB, free: 3.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.5912, allocations: 0 / 0.5383 GB, free: 3.73 MB / 398.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.00152/0.5927, allocations: 0.6599 MB / 0.539 GB, free: 3.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001021/0.5928, allocations: 9.562 kB / 0.539 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.593, allocations: 52.53 kB / 0.539 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009108/0.5939, allocations: 346.9 kB / 0.5393 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.5939, allocations: 25.47 kB / 0.5394 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.594, allocations: 31.94 kB / 0.5394 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/0.5949, allocations: 344.4 kB / 0.5397 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.5949, allocations: 1.219 kB / 0.5397 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.5949, allocations: 11.12 kB / 0.5397 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5949, allocations: 8.25 kB / 0.5397 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.5955, allocations: 216.5 kB / 0.54 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.5975, allocations: 1.144 MB / 0.5411 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.5983, allocations: 223.4 kB / 0.5413 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.5986, allocations: 110.5 kB / 0.5414 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.5986, allocations: 7.094 kB / 0.5414 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.5987, allocations: 44.84 kB / 0.5414 GB, free: 1.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.5987, allocations: 0 / 0.5414 GB, free: 1.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001003/0.5997, allocations: 286.4 kB / 0.5417 GB, free: 1.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.5998, allocations: 110.4 kB / 0.5418 GB, free: 1.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.6003, allocations: 338.1 kB / 0.5421 GB, free: 1.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.6003, allocations: 35.64 kB / 0.5422 GB, free: 1.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.6005, allocations: 228.1 kB / 0.5424 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.6006, allocations: 78.61 kB / 0.5425 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.971e-05/0.6007, allocations: 53.67 kB / 0.5425 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6008, allocations: 346.2 kB / 0.5428 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.601, allocations: 81.33 kB / 0.5429 GB, free: 492 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.6013, allocations: 151.5 kB / 0.5431 GB, free: 376 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.6017, allocations: 219.4 kB / 0.5433 GB, free: 232 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6017, allocations: 5.031 kB / 0.5433 GB, free: 228 kB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006498/0.6024, allocations: 289.2 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.6024, allocations: 7.094 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.6024, allocations: 1.531 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.6024, allocations: 3.5 kB / 0.5436 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.6027, allocations: 51.8 kB / 0.5436 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.6027, allocations: 3.703 kB / 0.5436 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.6029, allocations: 41.45 kB / 0.5437 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.6029, allocations: 10.95 kB / 0.5437 GB, free: 52 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003332/0.6033, allocations: 192.9 kB / 0.5439 GB, free: 15.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002576/0.6035, allocations: 139.2 kB / 0.544 GB, free: 15.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003679/0.6039, allocations: 201.7 kB / 0.5442 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.6039, allocations: 1.5 kB / 0.5442 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0005501/0.6044, allocations: 279.7 kB / 0.5445 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.6045, allocations: 8.344 kB / 0.5445 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.6045, allocations: 2.094 kB / 0.5445 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.6045, allocations: 3.938 kB / 0.5445 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.6047, allocations: 48.36 kB / 0.5445 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6047, allocations: 4.859 kB / 0.5445 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.6049, allocations: 33.66 kB / 0.5445 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.6049, allocations: 7.625 kB / 0.5446 GB, free: 15.52 MB / 414.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.0002218/0.6051, allocations: 202.3 kB / 0.5447 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.6052, allocations: 37.33 kB / 0.5448 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.6053, allocations: 41.36 kB / 0.5448 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.6053, allocations: 3.031 kB / 0.5448 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6053, allocations: 0 / 0.5448 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6054, allocations: 5.438 kB / 0.5448 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006608/0.606, allocations: 367.5 kB / 0.5452 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.606, allocations: 1.5 kB / 0.5452 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.6063, allocations: 38.66 kB / 0.5452 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6063, allocations: 5.406 kB / 0.5452 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.6063, allocations: 6.109 kB / 0.5452 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6063, allocations: 1.312 kB / 0.5452 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6063, allocations: 0.5625 kB / 0.5452 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.6072, allocations: 429.9 kB / 0.5456 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.6073, allocations: 55.08 kB / 0.5457 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.6074, allocations: 10.38 kB / 0.5457 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.6076, allocations: 16.17 kB / 0.5457 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/0.6077, allocations: 27.61 kB / 0.5457 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.6077, allocations: 5.25 kB / 0.5458 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003031/0.608, allocations: 243.5 kB / 0.546 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.608, allocations: 3.938 kB / 0.546 GB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004768/0.6084, allocations: 123.9 kB / 0.5461 GB, free: 14.52 MB / 414.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.0001759/0.6086, allocations: 109.1 kB / 0.5462 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000738/0.6094, allocations: 295.2 kB / 0.5465 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6094, allocations: 0 / 0.5465 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.6096, allocations: 95.61 kB / 0.5466 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.6103, allocations: 93.06 kB / 0.5467 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.6121, allocations: 0.7121 MB / 0.5474 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/0.6129, allocations: 0.7968 MB / 0.5481 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.6132, allocations: 46.11 kB / 0.5482 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6133, allocations: 27.88 kB / 0.5482 GB, free: 13.1 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6133, allocations: 1.062 kB / 0.5482 GB, free: 13.1 MB / 414.1 MB Notification: Performance of Templates: time 0.01419/0.6275, allocations: 3.628 MB / 0.5518 GB, free: 12.6 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.922494835220277] Failed to read output from testmodel.py, exit status != 0: 0.6405714964494109 0.6592487189999999 0.06411870800000001 Calling exit ...