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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.002029/0.002029, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.149/1.149, allocations: 175.7 MB / 480.2 MB, free: 3.172 MB / 366.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67 kB / 0.6683 GB, free: 10.62 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2873, allocations: 94.53 MB / 0.7606 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006782/0.2941, allocations: 4.15 MB / 0.7647 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003559/0.2976, allocations: 1.348 MB / 0.766 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.2983, allocations: 23.88 kB / 0.766 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.2988, allocations: 126.7 kB / 0.7662 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.2992, allocations: 182.4 kB / 0.7663 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.3003, allocations: 434.4 kB / 0.7667 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.3015, allocations: 0.9477 MB / 0.7677 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005953/0.3021, allocations: 310.2 kB / 0.768 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004362/0.3025, allocations: 338.7 kB / 0.7683 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.303, allocations: 330.4 kB / 0.7686 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.3031, allocations: 92 kB / 0.7687 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3032, allocations: 95.94 kB / 0.7688 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.3034, allocations: 179.4 kB / 0.769 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000404/0.3038, allocations: 390 kB / 0.7693 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.3051, allocations: 1.066 MB / 0.7704 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3051, allocations: 0 / 0.7704 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3051, allocations: 0 / 0.7704 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3051, allocations: 0 / 0.7704 GB, free: 6.34 MB / 0.5762 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.002179/0.3073, allocations: 1.107 MB / 0.7715 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3074, allocations: 8.031 kB / 0.7715 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.3075, allocations: 84.42 kB / 0.7715 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3086, allocations: 0.5655 MB / 0.7721 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/0.3087, allocations: 45.69 kB / 0.7721 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.3088, allocations: 56.38 kB / 0.7722 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.31, allocations: 0.6078 MB / 0.7728 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.3101, allocations: 4 kB / 0.7728 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.3101, allocations: 24 kB / 0.7728 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.3101, allocations: 12 kB / 0.7728 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3112, allocations: 457 kB / 0.7733 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.3145, allocations: 2.009 MB / 0.7752 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.3154, allocations: 421.7 kB / 0.7756 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.3159, allocations: 222.1 kB / 0.7758 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.316, allocations: 8.422 kB / 0.7758 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005931/0.3166, allocations: 257.3 kB / 0.7761 GB, free: 276 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=49): time 2.795e-06/0.3166, allocations: 0 / 0.7761 GB, free: 276 kB / 0.5762 GB Notification: Performance of matching and sorting (n=49): time 0.001452/0.318, allocations: 0.5886 MB / 0.7767 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3181, allocations: 59.84 kB / 0.7767 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/0.3187, allocations: 450.6 kB / 0.7771 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.3187, allocations: 37.7 kB / 0.7772 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.319, allocations: 332.8 kB / 0.7775 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.3192, allocations: 174.5 kB / 0.7777 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.3194, allocations: 94.25 kB / 0.7778 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.3196, allocations: 366.8 kB / 0.7781 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.32, allocations: 165 kB / 0.7783 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.3205, allocations: 249.8 kB / 0.7785 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/0.3214, allocations: 452 kB / 0.7789 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3214, allocations: 8 kB / 0.7789 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001157/0.3226, allocations: 0.5588 MB / 0.7795 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.3226, allocations: 33.64 kB / 0.7795 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3226, allocations: 7.984 kB / 0.7795 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.3227, allocations: 8.188 kB / 0.7795 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.3232, allocations: 107.9 kB / 0.7796 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.3232, allocations: 15.92 kB / 0.7797 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.3236, allocations: 51.67 kB / 0.7797 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.3236, allocations: 20 kB / 0.7797 GB, free: 12.41 MB / 0.5919 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.0003205/0.3239, allocations: 209.7 kB / 0.7799 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.324, allocations: 55.61 kB / 0.78 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.3242, allocations: 69.59 kB / 0.78 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3242, allocations: 4 kB / 0.78 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.3242, allocations: 3.984 kB / 0.78 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3242, allocations: 4 kB / 0.7801 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.3262, allocations: 1.182 MB / 0.7812 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3262, allocations: 4 kB / 0.7812 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.3267, allocations: 91.88 kB / 0.7813 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3267, allocations: 4 kB / 0.7813 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.3267, allocations: 12 kB / 0.7813 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3267, allocations: 0 / 0.7813 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3267, allocations: 0 / 0.7813 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3281, allocations: 0.7693 MB / 0.7821 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.3284, allocations: 172.7 kB / 0.7822 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.3284, allocations: 12 kB / 0.7822 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.3287, allocations: 19.98 kB / 0.7823 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.3288, allocations: 44.31 kB / 0.7823 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.3288, allocations: 15.98 kB / 0.7823 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000407/0.3293, allocations: 310.9 kB / 0.7826 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3293, allocations: 0 / 0.7826 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005113/0.3298, allocations: 139.7 kB / 0.7827 GB, free: 9.215 MB / 0.5919 GB 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 0.0001756/0.3299, allocations: 118.3 kB / 0.7829 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.331, allocations: 461.4 kB / 0.7833 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.331, allocations: 0 / 0.7833 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.3314, allocations: 206.3 kB / 0.7835 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.3322, allocations: 158 kB / 0.7836 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.3353, allocations: 1.375 MB / 0.785 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/0.3359, allocations: 0.8899 MB / 0.7859 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003066/0.3362, allocations: 64.58 kB / 0.7859 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.3363, allocations: 39.44 kB / 0.786 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.3363, allocations: 0 / 0.786 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of Templates: time 0.01437/0.3507, allocations: 6.154 MB / 0.792 GB, free: 15.79 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.203664982691407]