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.001072/0.001072, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002593, allocations: 435.8 kB / 10.33 MB, free: 368 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.001163/0.001163, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002639, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.09/1.09, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.2, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7984/0.7984, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2985/1.097, allocations: 49.03 MB / 447.6 MB, free: 6.699 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.693e-06/1.693e-06, allocations: 0 / 448.8 MB, free: 5.453 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.917e-05, allocations: 4.984 kB / 448.8 MB, free: 5.449 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004282/0.004302, allocations: 3.981 MB / 452.8 MB, free: 1.52 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.006026, allocations: 1.422 MB / 454.3 MB, free: 104 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.006261, allocations: 28.72 kB / 454.3 MB, free: 76 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.006505, allocations: 122.8 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.006744, allocations: 198.8 kB / 454.6 MB, free: 15.76 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.007234, allocations: 416.8 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006627/0.007897, allocations: 0.961 MB / 456 MB, free: 14.39 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.008248, allocations: 302.5 kB / 456.3 MB, free: 14.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.008713, allocations: 0.5625 MB / 456.8 MB, free: 13.5 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.008937, allocations: 235.2 kB / 457 MB, free: 13.27 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.009014, allocations: 88 kB / 457.1 MB, free: 13.19 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.069e-05/0.009085, allocations: 89.09 kB / 457.2 MB, free: 13.1 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.754e-05/0.009173, allocations: 135.6 kB / 457.4 MB, free: 12.97 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001571/0.00933, allocations: 207.5 kB / 457.6 MB, free: 12.77 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.009781, allocations: 0.5298 MB / 458.1 MB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.745e-05/0.009799, allocations: 3.312 kB / 458.1 MB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.009799, allocations: 0 / 458.1 MB, free: 12.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.009819, allocations: 0 / 458.1 MB, free: 12.23 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.001149/0.01097, allocations: 1.109 MB / 459.2 MB, free: 11.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.011, allocations: 8.031 kB / 459.2 MB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.0111, allocations: 104.9 kB / 459.3 MB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.01158, allocations: 423.1 kB / 459.7 MB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.01161, allocations: 46.69 kB / 459.8 MB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.01167, allocations: 60.38 kB / 459.8 MB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.0121, allocations: 491.2 kB / 460.3 MB, free: 9.934 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.01212, allocations: 4.188 kB / 460.3 MB, free: 9.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.01215, allocations: 20.38 kB / 460.3 MB, free: 9.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.01216, allocations: 16.59 kB / 460.3 MB, free: 9.895 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.01237, allocations: 163.5 kB / 460.5 MB, free: 9.734 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.0137, allocations: 1.298 MB / 461.8 MB, free: 8.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.01398, allocations: 229.3 kB / 462 MB, free: 8.176 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.01407, allocations: 94.31 kB / 462.1 MB, free: 8.082 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.0141, allocations: 12.44 kB / 462.1 MB, free: 8.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.01429, allocations: 166.9 kB / 462.3 MB, free: 7.898 MB / 442.7 MB Notification: Performance of pre-optimization done (n=49): time 1.683e-06/0.01429, allocations: 0.5625 kB / 462.3 MB, free: 7.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003198/0.01461, allocations: 259.2 kB / 462.5 MB, free: 7.645 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.01465, allocations: 55.91 kB / 462.6 MB, free: 7.578 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.01487, allocations: 387.1 kB / 463 MB, free: 7.188 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.0149, allocations: 34.45 kB / 463 MB, free: 7.148 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.01502, allocations: 278.1 kB / 463.3 MB, free: 6.875 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/0.0151, allocations: 171 kB / 463.5 MB, free: 6.707 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.01519, allocations: 98.97 kB / 463.5 MB, free: 6.605 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.01529, allocations: 374.6 kB / 463.9 MB, free: 6.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.01537, allocations: 71.62 kB / 464 MB, free: 6.152 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.01548, allocations: 161 kB / 464.1 MB, free: 5.969 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.01568, allocations: 262.8 kB / 464.4 MB, free: 5.684 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01568, allocations: 0 / 464.4 MB, free: 5.684 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002654/0.01595, allocations: 323.8 kB / 464.7 MB, free: 5.348 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.01598, allocations: 37.64 kB / 464.8 MB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01599, allocations: 0.8438 kB / 464.8 MB, free: 5.305 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.016, allocations: 4 kB / 464.8 MB, free: 5.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.01632, allocations: 146.4 kB / 464.9 MB, free: 5.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.01632, allocations: 7.938 kB / 464.9 MB, free: 5.152 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.01644, allocations: 57.11 kB / 465 MB, free: 5.098 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.01646, allocations: 16 kB / 465 MB, free: 5.082 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.0001099/0.01657, allocations: 134.7 kB / 465.1 MB, free: 4.941 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.01662, allocations: 47.95 kB / 465.2 MB, free: 4.895 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.818e-05/0.01668, allocations: 66.91 kB / 465.2 MB, free: 4.832 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.01669, allocations: 8 kB / 465.2 MB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01669, allocations: 7.875 kB / 465.2 MB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.0167, allocations: 5.359 kB / 465.2 MB, free: 4.812 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.01726, allocations: 0.5797 MB / 465.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01726, allocations: 0 / 465.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.01753, allocations: 115.2 kB / 465.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.01761, allocations: 56.58 kB / 466 MB, free: 4.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01762, allocations: 4 kB / 466 MB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.01763, allocations: 16.58 kB / 466 MB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01764, allocations: 7.875 kB / 466 MB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01764, allocations: 1.812 kB / 466 MB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.01798, allocations: 406.7 kB / 466.4 MB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.01802, allocations: 8 kB / 466.4 MB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.01812, allocations: 25.8 kB / 466.5 MB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.01818, allocations: 28.44 kB / 466.5 MB, free: 3.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.01819, allocations: 15.98 kB / 466.5 MB, free: 3.527 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.0183, allocations: 160.7 kB / 466.7 MB, free: 3.367 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0183, allocations: 0.5625 kB / 466.7 MB, free: 3.367 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.01852, allocations: 147.6 kB / 466.8 MB, free: 3.223 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 8.987e-05/0.01861, allocations: 98.28 kB / 466.9 MB, free: 3.121 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.01887, allocations: 295.8 kB / 467.2 MB, free: 2.816 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/0.01888, allocations: 11.98 kB / 467.2 MB, free: 2.805 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.01899, allocations: 120.6 kB / 467.3 MB, free: 2.684 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.01937, allocations: 187 kB / 467.5 MB, free: 2.512 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.02311, allocations: 1.139 MB / 468.6 MB, free: 1.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.616e-05/0.02321, allocations: 138.4 kB / 468.8 MB, free: 1.184 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.02337, allocations: 68.16 kB / 468.8 MB, free: 1.125 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.02358, allocations: 161.3 kB / 469 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02358, allocations: 0.5938 kB / 469 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of Templates: time 0.01032/0.03389, allocations: 6.677 MB / 475.7 MB, free: 10.79 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.9131790176033974]