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.001048/0.001048, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002448, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001068/0.001068, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002609, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 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.9692/0.9692, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.074, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.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.8174/0.8174, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3164/1.134, allocations: 49.05 MB / 447.8 MB, free: 6.594 MB / 426.7 MB " [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 1.162e-06/1.162e-06, allocations: 3.938 kB / 449.1 MB, free: 5.324 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.475e-05, allocations: 6.484 kB / 449.1 MB, free: 5.32 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006487/0.006502, allocations: 3.993 MB / 453.1 MB, free: 1.375 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.0117, allocations: 1.404 MB / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.01198, allocations: 27.81 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.01223, allocations: 135.6 kB / 454.7 MB, free: 15.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.01253, allocations: 194.1 kB / 454.9 MB, free: 15.63 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.01311, allocations: 412.8 kB / 455.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.01693, allocations: 0.9685 MB / 456.2 MB, free: 14.26 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.01733, allocations: 298.6 kB / 456.5 MB, free: 13.94 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000567/0.01789, allocations: 0.5625 MB / 457.1 MB, free: 13.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.01815, allocations: 231.2 kB / 457.3 MB, free: 13.15 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.01824, allocations: 89.5 kB / 457.4 MB, free: 13.06 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.01833, allocations: 88 kB / 457.5 MB, free: 12.98 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.01844, allocations: 139.5 kB / 457.6 MB, free: 12.84 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.01862, allocations: 207.5 kB / 457.8 MB, free: 12.64 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.01915, allocations: 0.5182 MB / 458.4 MB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.01916, allocations: 0 / 458.4 MB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01916, allocations: 1.094 kB / 458.4 MB, free: 12.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.01918, allocations: 0 / 458.4 MB, free: 12.12 MB / 442.7 MB 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.002908/0.02208, allocations: 1.118 MB / 459.5 MB, free: 10.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.02211, allocations: 8.938 kB / 459.5 MB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.02221, allocations: 104.9 kB / 459.6 MB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.02265, allocations: 415.8 kB / 460 MB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.02268, allocations: 46.38 kB / 460 MB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.02274, allocations: 60.36 kB / 460.1 MB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.02315, allocations: 488.5 kB / 460.6 MB, free: 9.816 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.02317, allocations: 4.188 kB / 460.6 MB, free: 9.812 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.0232, allocations: 25 kB / 460.6 MB, free: 9.789 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.02321, allocations: 20.56 kB / 460.6 MB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.02341, allocations: 171.1 kB / 460.8 MB, free: 9.602 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.02501, allocations: 1.291 MB / 462.1 MB, free: 8.285 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.02527, allocations: 237.9 kB / 462.3 MB, free: 8.043 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.234e-05/0.02536, allocations: 93.59 kB / 462.4 MB, free: 7.953 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.02539, allocations: 9.719 kB / 462.4 MB, free: 7.945 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.02557, allocations: 166.2 kB / 462.6 MB, free: 7.773 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 1.343e-06/0.02557, allocations: 1.062 kB / 462.6 MB, free: 7.773 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.0002875/0.02586, allocations: 258 kB / 462.8 MB, free: 7.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.02588, allocations: 61.06 kB / 462.9 MB, free: 7.449 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.0261, allocations: 387.1 kB / 463.3 MB, free: 7.059 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.02612, allocations: 29.7 kB / 463.3 MB, free: 7.023 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.02623, allocations: 278.8 kB / 463.6 MB, free: 6.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.531e-05/0.02632, allocations: 174.5 kB / 463.7 MB, free: 6.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.0264, allocations: 91.8 kB / 463.8 MB, free: 6.484 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.0265, allocations: 374.6 kB / 464.2 MB, free: 6.109 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.02658, allocations: 82.98 kB / 464.3 MB, free: 6.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.02669, allocations: 158.2 kB / 464.4 MB, free: 5.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.02689, allocations: 261 kB / 464.7 MB, free: 5.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02689, allocations: 4 kB / 464.7 MB, free: 5.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002587/0.02715, allocations: 324.1 kB / 465 MB, free: 5.215 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.02718, allocations: 38.84 kB / 465 MB, free: 5.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.02719, allocations: 7.984 kB / 465 MB, free: 5.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.0272, allocations: 4.938 kB / 465 MB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.0275, allocations: 140.6 kB / 465.2 MB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.02751, allocations: 7.938 kB / 465.2 MB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.02763, allocations: 54.28 kB / 465.2 MB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.02765, allocations: 12 kB / 465.3 MB, free: 4.953 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * 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.000109/0.02775, allocations: 133.8 kB / 465.4 MB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.0278, allocations: 51.95 kB / 465.4 MB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.02786, allocations: 64.09 kB / 465.5 MB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.02787, allocations: 7.938 kB / 465.5 MB, free: 4.695 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.02787, allocations: 5.406 kB / 465.5 MB, free: 4.691 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02788, allocations: 7.922 kB / 465.5 MB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.02844, allocations: 0.5875 MB / 466.1 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.02844, allocations: 1.375 kB / 466.1 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.02869, allocations: 117.1 kB / 466.2 MB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.02877, allocations: 55.55 kB / 466.3 MB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.02877, allocations: 1.75 kB / 466.3 MB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.02879, allocations: 19.92 kB / 466.3 MB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.02879, allocations: 4 kB / 466.3 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.02879, allocations: 0 / 466.3 MB, free: 3.883 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.02912, allocations: 405.2 kB / 466.7 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.02915, allocations: 12 kB / 466.7 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.02925, allocations: 15.98 kB / 466.7 MB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.0293, allocations: 36.44 kB / 466.8 MB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.02931, allocations: 11.98 kB / 466.8 MB, free: 3.398 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.02943, allocations: 161.2 kB / 466.9 MB, free: 3.238 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.02943, allocations: 0.5938 kB / 466.9 MB, free: 3.238 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000234/0.02967, allocations: 147.6 kB / 467.1 MB, free: 3.094 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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 7.831e-05/0.02974, allocations: 99.77 kB / 467.2 MB, free: 2.992 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.03002, allocations: 298.8 kB / 467.5 MB, free: 2.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/0.03003, allocations: 8.625 kB / 467.5 MB, free: 2.672 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.03018, allocations: 155.3 kB / 467.6 MB, free: 2.516 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.03088, allocations: 1.174 MB / 468.8 MB, free: 1.145 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.03492, allocations: 1.136 MB / 469.9 MB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.654e-05/0.035, allocations: 144.1 kB / 470.1 MB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.03517, allocations: 62.14 kB / 470.1 MB, free: 15.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.03538, allocations: 161.3 kB / 470.3 MB, free: 15.6 MB / 458.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03539, allocations: 1.062 kB / 470.3 MB, free: 15.6 MB / 458.7 MB Notification: Performance of Templates: time 0.008222/0.04361, allocations: 6.514 MB / 476.8 MB, free: 9.574 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7880789041519165]