Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008061/0.008061, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7505/0.7505, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 9.188 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3618, allocations: 81.57 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.003657/0.3655, allocations: 3.894 MB / 0.5875 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.3683, allocations: 1.53 MB / 0.589 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007733/0.3691, allocations: 33.47 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.3695, allocations: 123.5 kB / 0.5892 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008479/0.3704, allocations: 187 kB / 0.5894 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.3718, allocations: 0.6132 MB / 0.59 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.3734, allocations: 1.14 MB / 0.5911 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007754/0.3741, allocations: 480.8 kB / 0.5915 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.3748, allocations: 352 kB / 0.5919 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.3753, allocations: 354.9 kB / 0.5922 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.3755, allocations: 25.88 kB / 0.5922 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3756, allocations: 26.41 kB / 0.5923 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3758, allocations: 146.7 kB / 0.5924 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.3762, allocations: 406 kB / 0.5928 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.3773, allocations: 1.019 MB / 0.5938 GB, free: 13.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3773, allocations: 4 kB / 0.5938 GB, free: 13.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3773, allocations: 1.094 kB / 0.5938 GB, free: 13.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.213e-05/0.3773, allocations: 0 / 0.5938 GB, free: 13.38 MB / 446.1 MB 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.002535/0.3799, allocations: 1.236 MB / 0.595 GB, free: 12.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3799, allocations: 9.5 kB / 0.595 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.3801, allocations: 113.1 kB / 0.5951 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.3803, allocations: 123 kB / 0.5952 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.3816, allocations: 0.738 MB / 0.5959 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-05/0.3817, allocations: 79.97 kB / 0.596 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3818, allocations: 74.61 kB / 0.5961 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.3831, allocations: 0.7384 MB / 0.5968 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3832, allocations: 1.344 kB / 0.5968 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.3832, allocations: 31.12 kB / 0.5968 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.3833, allocations: 16.94 kB / 0.5969 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.3844, allocations: 0.536 MB / 0.5974 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.3877, allocations: 2.294 MB / 0.5996 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.3891, allocations: 0.6308 MB / 0.6002 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005165/0.3896, allocations: 280.2 kB / 0.6005 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.3896, allocations: 7.188 kB / 0.6005 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006765/0.3903, allocations: 331.7 kB / 0.6008 GB, free: 8.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.565e-06/0.3903, allocations: 5.312 kB / 0.6008 GB, free: 8.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001627/0.392, allocations: 0.7676 MB / 0.6016 GB, free: 8.543 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.392, allocations: 89.17 kB / 0.6017 GB, free: 8.445 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/0.393, allocations: 0.753 MB / 0.6024 GB, free: 8.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.393, allocations: 41.52 kB / 0.6024 GB, free: 7.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.3933, allocations: 440.5 kB / 0.6029 GB, free: 7.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.3935, allocations: 209.9 kB / 0.6031 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.3936, allocations: 61.05 kB / 0.6031 GB, free: 7.359 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.3937, allocations: 331.5 kB / 0.6034 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.3942, allocations: 205.2 kB / 0.6036 GB, free: 6.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.3947, allocations: 309.7 kB / 0.6039 GB, free: 6.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009655/0.3957, allocations: 0.517 MB / 0.6044 GB, free: 6.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3957, allocations: 5.531 kB / 0.6044 GB, free: 6.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001279/0.397, allocations: 0.6594 MB / 0.6051 GB, free: 6.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.3971, allocations: 163.6 kB / 0.6052 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3971, allocations: 1.938 kB / 0.6052 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3971, allocations: 5.469 kB / 0.6052 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.3978, allocations: 148.3 kB / 0.6054 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3978, allocations: 9.375 kB / 0.6054 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.3983, allocations: 79.09 kB / 0.6055 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.3983, allocations: 23.48 kB / 0.6055 GB, free: 5.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.171e-06/0.3983, allocations: 3.656 kB / 0.6055 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.3994, allocations: 0.5244 MB / 0.606 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3994, allocations: 2.688 kB / 0.606 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.3994, allocations: 5.438 kB / 0.606 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.4, allocations: 147.3 kB / 0.6062 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.4, allocations: 13.42 kB / 0.6062 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.4004, allocations: 69.12 kB / 0.6062 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.4005, allocations: 20.12 kB / 0.6063 GB, free: 5.457 MB / 446.1 MB 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003623/0.4008, allocations: 297.2 kB / 0.6065 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.401, allocations: 94.38 kB / 0.6066 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.4012, allocations: 105.6 kB / 0.6067 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4012, allocations: 11.02 kB / 0.6067 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4012, allocations: 0 / 0.6067 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4012, allocations: 3.938 kB / 0.6067 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.4034, allocations: 1.457 MB / 0.6082 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4034, allocations: 1.125 kB / 0.6082 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/0.404, allocations: 109.2 kB / 0.6083 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.404, allocations: 6.469 kB / 0.6083 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.404, allocations: 11.25 kB / 0.6083 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.404, allocations: 6.188 kB / 0.6083 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.404, allocations: 0 / 0.6083 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.4058, allocations: 0.9812 MB / 0.6093 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/0.4061, allocations: 230.5 kB / 0.6095 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.921e-05/0.4062, allocations: 11.66 kB / 0.6095 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.4067, allocations: 42.08 kB / 0.6095 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/0.4068, allocations: 33.95 kB / 0.6096 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.4068, allocations: 23.8 kB / 0.6096 GB, free: 3.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000669/0.4075, allocations: 0.5172 MB / 0.6101 GB, free: 2.883 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.4075, allocations: 0 / 0.6101 GB, free: 2.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007745/0.4083, allocations: 277.6 kB / 0.6104 GB, free: 2.805 MB / 446.1 MB 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 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked 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 (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.00201/0.4103, allocations: 1.543 MB / 0.6119 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.412, allocations: 0.8065 MB / 0.6126 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.412, allocations: 1.75 kB / 0.6126 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.4125, allocations: 275 kB / 0.6129 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.4139, allocations: 235.8 kB / 0.6131 GB, free: 1.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.4244, allocations: 7.348 MB / 0.6203 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.4249, allocations: 0.994 MB / 0.6213 GB, free: 8.996 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005822/0.4255, allocations: 114.7 kB / 0.6214 GB, free: 8.879 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.4259, allocations: 351.3 kB / 0.6217 GB, free: 8.535 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.426, allocations: 0 / 0.6217 GB, free: 8.535 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.647/2.073, allocations: 16.37 MB / 0.6377 GB, free: 8.43 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/2.073, allocations: 186.7 kB / 0.6379 GB, free: 8.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.216/4.29, allocations: 0 / 0.6379 GB, free: 8.18 MB / 478.1 MB (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)