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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.01052/0.01052, allocations: 170.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.811/0.811, allocations: 135.2 MB / 151 MB, free: 13.85 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.726/1.726, allocations: 223.2 MB / 406.8 MB, free: 3.164 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.001025/0.001026, allocations: 99.84 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003805, allocations: 11.98 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4878, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.6933, allocations: 119.7 MB / 0.7664 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003767/0.6937, allocations: 79.95 kB / 0.7665 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.07976/0.7735, allocations: 19.87 MB / 0.7859 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.168e-06/0.7736, allocations: 0 / 0.7859 GB, free: 8.336 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002495/0.7739, allocations: 24 kB / 0.7859 GB, free: 8.312 MB / 0.5573 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.004801/0.7787, allocations: 1.249 MB / 0.7871 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.612e-05/0.7788, allocations: 8.031 kB / 0.7871 GB, free: 7 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003517/0.7792, allocations: 114.4 kB / 0.7872 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004293/0.7796, allocations: 118.6 kB / 0.7873 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.7818, allocations: 0.7346 MB / 0.788 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.7819, allocations: 75.7 kB / 0.7881 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.7821, allocations: 75.91 kB / 0.7882 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.7841, allocations: 0.7821 MB / 0.789 GB, free: 5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.7842, allocations: 0 / 0.789 GB, free: 5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.645e-05/0.7843, allocations: 28 kB / 0.789 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.7843, allocations: 16 kB / 0.789 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.7862, allocations: 0.5673 MB / 0.7896 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/0.7919, allocations: 2.349 MB / 0.7918 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/0.7944, allocations: 0.7102 MB / 0.7925 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.808e-05/0.7945, allocations: 16.44 kB / 0.7926 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.7957, allocations: 351 kB / 0.7929 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 4.418e-06/0.7957, allocations: 0 / 0.7929 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.002883/0.7986, allocations: 0.8224 MB / 0.7937 GB, free: 64 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5948/1.393, allocations: 132.9 kB / 0.7938 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/1.395, allocations: 0.6532 MB / 0.7945 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/1.396, allocations: 39.47 kB / 0.7945 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005697/1.396, allocations: 435.6 kB / 0.7949 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002751/1.397, allocations: 206.7 kB / 0.7951 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/1.397, allocations: 13.47 kB / 0.7951 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.397, allocations: 327.6 kB / 0.7954 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009281/1.398, allocations: 225.3 kB / 0.7956 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009769/1.399, allocations: 349.6 kB / 0.796 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/1.4, allocations: 249.5 kB / 0.7962 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/1.4, allocations: 3.547 kB / 0.7962 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002562/1.402, allocations: 0.6928 MB / 0.7969 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004409/1.403, allocations: 0.875 MB / 0.7978 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/1.403, allocations: 6.625 kB / 0.7978 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.322e-05/1.403, allocations: 5.281 kB / 0.7978 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.404, allocations: 160.3 kB / 0.7979 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.081e-05/1.404, allocations: 12.92 kB / 0.7979 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/1.405, allocations: 82.89 kB / 0.798 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.753e-05/1.405, allocations: 26.64 kB / 0.798 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.405, allocations: 3.938 kB / 0.798 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002039/1.407, allocations: 0.5563 MB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/1.407, allocations: 2.938 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.408, allocations: 5.25 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.409, allocations: 155.1 kB / 0.7987 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/1.409, allocations: 8.188 kB / 0.7987 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/1.41, allocations: 80.23 kB / 0.7988 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/1.41, allocations: 22.62 kB / 0.7988 GB, free: 128.1 MB / 0.5573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007909/1.411, allocations: 296.2 kB / 0.7991 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/1.411, allocations: 95.56 kB / 0.7992 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/1.411, allocations: 100.5 kB / 0.7993 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.411, allocations: 12.78 kB / 0.7993 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.411, allocations: 0 / 0.7993 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/1.411, allocations: 6.938 kB / 0.7993 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/1.415, allocations: 1.524 MB / 0.8008 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.415, allocations: 3.469 kB / 0.8008 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/1.416, allocations: 118.3 kB / 0.8009 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/1.416, allocations: 2.375 kB / 0.8009 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/1.416, allocations: 12.41 kB / 0.801 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.416, allocations: 1.906 kB / 0.801 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.416, allocations: 0.6875 kB / 0.801 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/1.419, allocations: 1.045 MB / 0.802 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/1.42, allocations: 234 kB / 0.8022 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/1.42, allocations: 13.55 kB / 0.8022 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/1.421, allocations: 48.2 kB / 0.8023 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.421, allocations: 38.16 kB / 0.8023 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-05/1.421, allocations: 21.23 kB / 0.8023 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001268/1.422, allocations: 0.5159 MB / 0.8028 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.422, allocations: 2.438 kB / 0.8028 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001486/1.424, allocations: 285.6 kB / 0.8031 GB, free: 127.1 MB / 0.5573 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 () * 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 (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.003478/1.427, allocations: 1.61 MB / 0.8047 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003447/1.431, allocations: 0.8684 MB / 0.8055 GB, free: 126 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.431, allocations: 0.5 kB / 0.8055 GB, free: 126 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009001/1.432, allocations: 297.2 kB / 0.8058 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/1.433, allocations: 225 kB / 0.806 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/1.438, allocations: 3.632 MB / 0.8096 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/1.439, allocations: 1.014 MB / 0.8105 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008367/1.44, allocations: 114.7 kB / 0.8107 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/1.44, allocations: 359.8 kB / 0.811 GB, free: 122 MB / 0.5573 GB Notification: Performance of SimCode: time 1.363e-06/1.44, allocations: 0 / 0.811 GB, free: 122 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0458/1.486, allocations: 16.63 MB / 0.8272 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/1.486, allocations: 173.7 kB / 0.8274 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/4.127, allocations: 7.688 kB / 0.8274 GB, free: 114.8 MB / 0.5573 GB (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/linux/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)