Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009433/0.0009433, allocations: 87.56 kB / 20.2 MB, free: 4.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008542/0.0008542, allocations: 158 kB / 23.51 MB, free: 1.035 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9411/0.9411, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7519/0.7519, allocations: 154.6 MB / 414.9 MB, free: 0.6719 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5203 GB, free: 2.641 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.287e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.637 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004165/0.004198, allocations: 3.743 MB / 0.524 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.006222, allocations: 1.323 MB / 0.5253 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.006583, allocations: 36.69 kB / 0.5253 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.006935, allocations: 122.8 kB / 0.5254 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.007215, allocations: 198.7 kB / 0.5256 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.007957, allocations: 415.3 kB / 0.526 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008625/0.00882, allocations: 0.9791 MB / 0.527 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.009255, allocations: 278.7 kB / 0.5272 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.009756, allocations: 0.5038 MB / 0.5277 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.01001, allocations: 235.2 kB / 0.5279 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.025e-05/0.0101, allocations: 92.5 kB / 0.528 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.01017, allocations: 92 kB / 0.5281 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.01029, allocations: 180.1 kB / 0.5283 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.0105, allocations: 255.3 kB / 0.5285 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000967/0.01147, allocations: 1.088 MB / 0.5296 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01147, allocations: 0 / 0.5296 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.01147, allocations: 0 / 0.5296 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.01148, allocations: 0 / 0.5296 GB, free: 9.121 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001531/0.01301, allocations: 1.068 MB / 0.5306 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.01307, allocations: 12.03 kB / 0.5306 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.01323, allocations: 132.4 kB / 0.5308 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007175/0.01395, allocations: 0.528 MB / 0.5313 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.01399, allocations: 46.19 kB / 0.5313 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.588e-05/0.01407, allocations: 64.31 kB / 0.5314 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007983/0.01487, allocations: 0.6554 MB / 0.532 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.01489, allocations: 1.188 kB / 0.532 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.01493, allocations: 28.38 kB / 0.5321 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.01495, allocations: 16.56 kB / 0.5321 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006691/0.01562, allocations: 460 kB / 0.5325 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.01789, allocations: 1.708 MB / 0.5342 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.01853, allocations: 425.1 kB / 0.5346 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.01882, allocations: 223.2 kB / 0.5348 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.01886, allocations: 12.5 kB / 0.5348 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.01925, allocations: 263.6 kB / 0.5351 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=49): time 2.535e-06/0.01925, allocations: 0 / 0.5351 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.0009235/0.02018, allocations: 0.604 MB / 0.5357 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.02023, allocations: 64.47 kB / 0.5357 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.02058, allocations: 429.9 kB / 0.5361 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.02061, allocations: 31.2 kB / 0.5362 GB, free: 2.227 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.02081, allocations: 340.9 kB / 0.5365 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.02092, allocations: 174.4 kB / 0.5366 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.02103, allocations: 94.34 kB / 0.5367 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.02117, allocations: 367.7 kB / 0.5371 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.02143, allocations: 191.5 kB / 0.5373 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.02172, allocations: 276.9 kB / 0.5375 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.02226, allocations: 456 kB / 0.538 GB, free: 288 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.02226, allocations: 0 / 0.538 GB, free: 288 kB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007062/0.02297, allocations: 0.6145 MB / 0.5386 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.02301, allocations: 33.7 kB / 0.5386 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.02302, allocations: 4 kB / 0.5386 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.02305, allocations: 4 kB / 0.5386 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.02335, allocations: 111.8 kB / 0.5387 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.02336, allocations: 7.938 kB / 0.5387 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.02351, allocations: 57.05 kB / 0.5388 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.02354, allocations: 20 kB / 0.5388 GB, free: 15.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002054/0.02375, allocations: 211.8 kB / 0.539 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.02382, allocations: 83.61 kB / 0.5391 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.02392, allocations: 58.73 kB / 0.5391 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.02392, allocations: 4 kB / 0.5391 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.02394, allocations: 3.938 kB / 0.5391 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.02395, allocations: 5.453 kB / 0.5391 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.02536, allocations: 1.001 MB / 0.5401 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02536, allocations: 4.562 kB / 0.5401 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.02562, allocations: 88.83 kB / 0.5402 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.02563, allocations: 0 / 0.5402 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.02565, allocations: 20.86 kB / 0.5402 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.02566, allocations: 4 kB / 0.5402 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02566, allocations: 2.469 kB / 0.5402 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009246/0.02659, allocations: 0.7748 MB / 0.541 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.02671, allocations: 96.52 kB / 0.5411 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.02675, allocations: 15.94 kB / 0.5411 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.02689, allocations: 25.22 kB / 0.5411 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.027, allocations: 36.44 kB / 0.5412 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.02702, allocations: 11.98 kB / 0.5412 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002506/0.02727, allocations: 300.6 kB / 0.5415 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02727, allocations: 0 / 0.5415 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002935/0.02756, allocations: 143.6 kB / 0.5416 GB, free: 12.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001403/0.0277, allocations: 111.7 kB / 0.5417 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006635/0.02837, allocations: 493.8 kB / 0.5422 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02837, allocations: 0 / 0.5422 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.02864, allocations: 203.3 kB / 0.5424 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.02916, allocations: 150.2 kB / 0.5425 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.03108, allocations: 1.271 MB / 0.5437 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.03132, allocations: 289.2 kB / 0.544 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.03149, allocations: 63.78 kB / 0.5441 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.03158, allocations: 45.52 kB / 0.5441 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of SimCode: time 7.11e-07/0.03159, allocations: 0 / 0.5441 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of Templates: time 0.009413/0.041, allocations: 5.792 MB / 0.5498 GB, free: 4.316 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.086641628295183] Failed to read output from testmodel.py, exit status != 0: 0.047803121618926525 0.056826141000000004 0.043602893000000004 Calling exit ...