Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",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.001786/0.001786, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8018/0.8018, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.137/2.137, allocations: 221.3 MB / 400.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 109.6 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.357e-05/5.361e-05, allocations: 2.188 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2257, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9747/1.201, allocations: 119.6 MB / 0.7573 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/1.201, allocations: 75.67 kB / 0.7574 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07289/1.274, allocations: 19.83 MB / 0.7767 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.896e-06/1.274, allocations: 0 / 0.7767 GB, free: 17.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001722/1.274, allocations: 28 kB / 0.7768 GB, free: 17.55 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003259/1.277, allocations: 1.08 MB / 0.7778 GB, free: 16.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/1.277, allocations: 12.02 kB / 0.7778 GB, free: 16.48 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000369/1.278, allocations: 111.9 kB / 0.7779 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/1.278, allocations: 118.6 kB / 0.778 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/1.281, allocations: 0.725 MB / 0.7787 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/1.281, allocations: 84.06 kB / 0.7788 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/1.281, allocations: 71.97 kB / 0.7789 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/1.283, allocations: 0.7263 MB / 0.7796 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/1.283, allocations: 3.938 kB / 0.7796 GB, free: 15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/1.283, allocations: 28 kB / 0.7796 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/1.283, allocations: 19.98 kB / 0.7797 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/1.285, allocations: 492 kB / 0.7801 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006141/1.291, allocations: 2.347 MB / 0.7824 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/1.293, allocations: 0.5959 MB / 0.783 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/1.294, allocations: 222.8 kB / 0.7832 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/1.294, allocations: 8.562 kB / 0.7832 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008726/1.295, allocations: 303.6 kB / 0.7835 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 7.534e-06/1.295, allocations: 3.984 kB / 0.7835 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.001684/1.296, allocations: 0.5185 MB / 0.784 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/1.296, allocations: 137.1 kB / 0.7842 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.298, allocations: 0.6516 MB / 0.7848 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.8e-05/1.298, allocations: 39.83 kB / 0.7848 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/1.299, allocations: 440 kB / 0.7852 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/1.299, allocations: 200.8 kB / 0.7854 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/1.299, allocations: 11 kB / 0.7854 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002179/1.299, allocations: 330.6 kB / 0.7858 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/1.3, allocations: 182.3 kB / 0.7859 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007045/1.301, allocations: 302.3 kB / 0.7862 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/1.301, allocations: 208.4 kB / 0.7864 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.301, allocations: 0 / 0.7864 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001791/1.303, allocations: 0.6167 MB / 0.787 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006386/1.304, allocations: 0.8683 MB / 0.7879 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/1.304, allocations: 8 kB / 0.7879 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.864e-05/1.304, allocations: 7.953 kB / 0.7879 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.305, allocations: 162.7 kB / 0.788 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/1.305, allocations: 4 kB / 0.788 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.306, allocations: 87.78 kB / 0.7881 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/1.307, allocations: 25.92 kB / 0.7882 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/1.307, allocations: 7.938 kB / 0.7882 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/1.308, allocations: 0.4913 MB / 0.7886 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.308, allocations: 8.031 kB / 0.7887 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.308, allocations: 4 kB / 0.7887 GB, free: 7.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.309, allocations: 154.4 kB / 0.7888 GB, free: 7.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.309, allocations: 8 kB / 0.7888 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009161/1.31, allocations: 74.38 kB / 0.7889 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/1.31, allocations: 26.86 kB / 0.7889 GB, free: 7.492 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002895/1.311, allocations: 140.2 kB / 0.789 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/1.311, allocations: 94.78 kB / 0.7891 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/1.311, allocations: 103.4 kB / 0.7892 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/1.311, allocations: 8 kB / 0.7892 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.311, allocations: 0 / 0.7892 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/1.311, allocations: 3.984 kB / 0.7892 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/1.315, allocations: 1.441 MB / 0.7906 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.371e-06/1.315, allocations: 3.938 kB / 0.7907 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009961/1.316, allocations: 118.5 kB / 0.7908 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/1.316, allocations: 4 kB / 0.7908 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/1.316, allocations: 13.88 kB / 0.7908 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.316, allocations: 0 / 0.7908 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.316, allocations: 4 kB / 0.7908 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/1.318, allocations: 0.9122 MB / 0.7917 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/1.319, allocations: 237.4 kB / 0.7919 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.319, allocations: 9.688 kB / 0.7919 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/1.32, allocations: 54.39 kB / 0.792 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.32, allocations: 32.08 kB / 0.792 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/1.32, allocations: 22.17 kB / 0.792 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001078/1.321, allocations: 0.5092 MB / 0.7925 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/1.321, allocations: 0 / 0.7925 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001342/1.322, allocations: 289.8 kB / 0.7928 GB, free: 4.422 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002638/1.325, allocations: 1.486 MB / 0.7942 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002217/1.327, allocations: 0.7872 MB / 0.795 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.327, allocations: 4 kB / 0.795 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006589/1.328, allocations: 252 kB / 0.7953 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/1.33, allocations: 223.4 kB / 0.7955 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/1.334, allocations: 1.322 MB / 0.7968 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/1.335, allocations: 1.011 MB / 0.7977 GB, free: 104 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001465/1.336, allocations: 174.2 kB / 0.7979 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/1.337, allocations: 342.1 kB / 0.7982 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/1.337, allocations: 0 / 0.7982 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06118/1.398, allocations: 18.38 MB / 0.8162 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.399, allocations: 151.5 kB / 0.8163 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/4.354, allocations: 0 / 0.8163 GB, free: 13.49 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)