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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01529/0.01529, allocations: 171.3 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.175/1.175, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 223.1 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 93.88 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004798/0.0004797, allocations: 12 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5511, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.7529, allocations: 117.9 MB / 0.7647 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/0.7534, allocations: 83.94 kB / 0.7648 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03376/0.7871, allocations: 12.37 MB / 0.7769 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.617e-06/0.7872, allocations: 0 / 0.7769 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.712e-05/0.7873, allocations: 16.12 kB / 0.7769 GB, free: 1.539 MB / 0.5417 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.001912/0.7892, allocations: 0.9618 MB / 0.7778 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/0.7893, allocations: 8.031 kB / 0.7778 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.7894, allocations: 106.5 kB / 0.7779 GB, free: 408 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.7896, allocations: 82.97 kB / 0.778 GB, free: 324 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.7906, allocations: 0.5253 MB / 0.7785 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.7906, allocations: 41.31 kB / 0.7785 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.7907, allocations: 67.89 kB / 0.7786 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.7921, allocations: 0.66 MB / 0.7793 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.7921, allocations: 0 / 0.7793 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.765e-05/0.7922, allocations: 31.77 kB / 0.7793 GB, free: 14.92 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.7922, allocations: 16 kB / 0.7793 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.7933, allocations: 0.5087 MB / 0.7798 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.7965, allocations: 2.103 MB / 0.7819 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.7976, allocations: 0.5314 MB / 0.7824 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.449e-05/0.7977, allocations: 8.438 kB / 0.7824 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006968/0.7984, allocations: 301.3 kB / 0.7827 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=50): time 2.245e-06/0.7984, allocations: 0 / 0.7827 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=50): time 0.00155/0.8, allocations: 0.7054 MB / 0.7834 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.8001, allocations: 162.7 kB / 0.7835 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.8006, allocations: 401.2 kB / 0.7839 GB, free: 10.07 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.8007, allocations: 37.7 kB / 0.7839 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.801, allocations: 313.2 kB / 0.7842 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.8011, allocations: 173.5 kB / 0.7844 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.8012, allocations: 8 kB / 0.7844 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.8014, allocations: 362.8 kB / 0.7847 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.8018, allocations: 205 kB / 0.7849 GB, free: 8.973 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.8024, allocations: 307.5 kB / 0.7852 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.803, allocations: 259.8 kB / 0.7855 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.803, allocations: 4 kB / 0.7855 GB, free: 8.379 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001334/0.8043, allocations: 0.6248 MB / 0.7861 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.517e-05/0.8044, allocations: 29.7 kB / 0.7861 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.8044, allocations: 4 kB / 0.7861 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.8044, allocations: 8.188 kB / 0.7861 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.805, allocations: 123.8 kB / 0.7863 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.805, allocations: 7.984 kB / 0.7863 GB, free: 7.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.8055, allocations: 75.66 kB / 0.7863 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.8055, allocations: 19.98 kB / 0.7864 GB, free: 7.473 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003551/0.8059, allocations: 209.7 kB / 0.7866 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.806, allocations: 63.2 kB / 0.7866 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.8062, allocations: 65.58 kB / 0.7867 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.8062, allocations: 11.94 kB / 0.7867 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.8062, allocations: 0 / 0.7867 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.8062, allocations: 4 kB / 0.7867 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.8083, allocations: 1.318 MB / 0.788 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.8083, allocations: 0 / 0.788 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/0.8089, allocations: 111.9 kB / 0.7881 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.8089, allocations: 0 / 0.7881 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.8089, allocations: 12 kB / 0.7881 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8089, allocations: 0 / 0.7881 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8089, allocations: 0 / 0.7881 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.8105, allocations: 0.8929 MB / 0.789 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002411/0.8108, allocations: 188.2 kB / 0.7892 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.8108, allocations: 12 kB / 0.7892 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.8113, allocations: 56.02 kB / 0.7892 GB, free: 4.438 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.8114, allocations: 40.38 kB / 0.7893 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.8114, allocations: 16.05 kB / 0.7893 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004353/0.8119, allocations: 318.9 kB / 0.7896 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8119, allocations: 0 / 0.7896 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005402/0.8124, allocations: 151.5 kB / 0.7897 GB, free: 3.926 MB / 0.5573 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.conPID.trigger,$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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001962/0.8144, allocations: 1.454 MB / 0.7911 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.8155, allocations: 0.5444 MB / 0.7917 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8155, allocations: 0 / 0.7917 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.816, allocations: 262.3 kB / 0.7919 GB, free: 1.633 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.8168, allocations: 131 kB / 0.792 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4371/1.254, allocations: 4.811 MB / 0.7967 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/1.255, allocations: 0.9015 MB / 0.7976 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004943/1.255, allocations: 66.27 kB / 0.7977 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/1.255, allocations: 222.4 kB / 0.7979 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/1.255, allocations: 0 / 0.7979 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/1.29, allocations: 11.51 MB / 0.8091 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.291, allocations: 164 kB / 0.8093 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.853, allocations: 3.594 kB / 0.8093 GB, free: 129.1 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)