Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001293, allocations: 120 kB / 16.42 MB, free: 6.496 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.001202/0.001202, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.806/0.806, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 61.66 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1716, allocations: 80.91 MB / 0.6653 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006138/0.1778, allocations: 4.105 MB / 0.6693 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.1806, allocations: 1.332 MB / 0.6706 GB, free: 408 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004463/0.1811, allocations: 19.94 kB / 0.6706 GB, free: 388 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.1815, allocations: 126.7 kB / 0.6707 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.1819, allocations: 182.4 kB / 0.6709 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008926/0.1828, allocations: 415 kB / 0.6713 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009342/0.1837, allocations: 0.9632 MB / 0.6722 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006371/0.1844, allocations: 462.1 kB / 0.6727 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.1847, allocations: 330.8 kB / 0.673 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.1851, allocations: 334.3 kB / 0.6733 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.1852, allocations: 92 kB / 0.6734 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1853, allocations: 92 kB / 0.6735 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.1855, allocations: 179.4 kB / 0.6737 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.1859, allocations: 402 kB / 0.674 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009551/0.1868, allocations: 1.063 MB / 0.6751 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1868, allocations: 0 / 0.6751 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.108e-06/0.1868, allocations: 0 / 0.6751 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.1869, allocations: 3.938 kB / 0.6751 GB, free: 11.76 MB / 0.5137 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.001815/0.1887, allocations: 1.073 MB / 0.6761 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1887, allocations: 9.109 kB / 0.6761 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.1889, allocations: 87.91 kB / 0.6762 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/0.1898, allocations: 0.5689 MB / 0.6768 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.1899, allocations: 45.69 kB / 0.6768 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.19, allocations: 56.38 kB / 0.6769 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.191, allocations: 0.6079 MB / 0.6775 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1911, allocations: 3.984 kB / 0.6775 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.1911, allocations: 28 kB / 0.6775 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.1912, allocations: 15.94 kB / 0.6775 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/0.1921, allocations: 457 kB / 0.6779 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/0.1949, allocations: 1.989 MB / 0.6799 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.1958, allocations: 446.2 kB / 0.6803 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.1963, allocations: 239.4 kB / 0.6805 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.1963, allocations: 4.438 kB / 0.6805 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005267/0.1968, allocations: 265.2 kB / 0.6808 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 2.885e-06/0.1968, allocations: 4 kB / 0.6808 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.001278/0.1981, allocations: 0.5805 MB / 0.6814 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1982, allocations: 59.84 kB / 0.6814 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.1987, allocations: 442 kB / 0.6818 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.1987, allocations: 41.7 kB / 0.6819 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.199, allocations: 324.3 kB / 0.6822 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.1991, allocations: 161.7 kB / 0.6823 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.1993, allocations: 98.14 kB / 0.6824 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1994, allocations: 362.8 kB / 0.6828 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.1998, allocations: 165 kB / 0.6829 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/0.2003, allocations: 253.8 kB / 0.6832 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.201, allocations: 452 kB / 0.6836 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2011, allocations: 0 / 0.6836 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009952/0.2021, allocations: 0.5624 MB / 0.6842 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.2021, allocations: 37.64 kB / 0.6842 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2021, allocations: 3.938 kB / 0.6842 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2022, allocations: 4.25 kB / 0.6842 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.2026, allocations: 119.8 kB / 0.6843 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2026, allocations: 4 kB / 0.6843 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.203, allocations: 63.44 kB / 0.6844 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.203, allocations: 16 kB / 0.6844 GB, free: 1.855 MB / 0.5137 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002484/0.2033, allocations: 211.4 kB / 0.6846 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.962e-05/0.2034, allocations: 59.28 kB / 0.6847 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.2035, allocations: 69.58 kB / 0.6847 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.2035, allocations: 3.984 kB / 0.6847 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2035, allocations: 0 / 0.6847 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.2037, allocations: 172.3 kB / 0.6849 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.2038, allocations: 8 kB / 0.6849 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.204, allocations: 27.95 kB / 0.6849 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/0.2042, allocations: 32.39 kB / 0.685 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00122/0.2054, allocations: 0.5582 MB / 0.6855 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001352/0.2067, allocations: 0.8492 MB / 0.6863 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003718/0.2071, allocations: 207.4 kB / 0.6865 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003221/0.2075, allocations: 306.9 kB / 0.6868 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of Backend: time 7.12e-07/0.2075, allocations: 0 / 0.6868 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009248/0.2084, allocations: 418.9 kB / 0.6872 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00229/0.2107, allocations: 1.704 MB / 0.6889 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of Templates: time 0.01221/0.2229, allocations: 7.08 MB / 0.6958 GB, free: 6.141 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)