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.01302/0.01302, allocations: 171.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.8265/0.8265, allocations: 135.2 MB / 151 MB, free: 13.82 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.786/1.786, allocations: 223.2 MB / 406.9 MB, free: 3.234 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.001081/0.001081, allocations: 93.7 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.5694, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.7534, allocations: 119.7 MB / 0.7664 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.7538, allocations: 87.89 kB / 0.7665 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05413/0.808, allocations: 19.86 MB / 0.7858 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.196e-06/0.808, allocations: 0 / 0.7858 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.908e-05/0.8082, allocations: 28.12 kB / 0.7859 GB, free: 8.262 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.002494/0.8107, allocations: 1.245 MB / 0.7871 GB, free: 6.961 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.8107, allocations: 8.031 kB / 0.7871 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.8109, allocations: 118.5 kB / 0.7872 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.8111, allocations: 118.6 kB / 0.7873 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.8125, allocations: 0.7268 MB / 0.788 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.8126, allocations: 87.69 kB / 0.7881 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.8128, allocations: 75.91 kB / 0.7882 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.8142, allocations: 0.7782 MB / 0.7889 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8142, allocations: 8 kB / 0.789 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.8143, allocations: 28 kB / 0.789 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.8143, allocations: 16 kB / 0.789 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.8155, allocations: 0.5634 MB / 0.7895 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.8191, allocations: 2.345 MB / 0.7918 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.8207, allocations: 0.7063 MB / 0.7925 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.146e-05/0.8208, allocations: 24.41 kB / 0.7926 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/0.8215, allocations: 351 kB / 0.7929 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 5.771e-06/0.8215, allocations: 0 / 0.7929 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.00179/0.8233, allocations: 0.8184 MB / 0.7937 GB, free: 12 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5175/1.341, allocations: 137.2 kB / 0.7938 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/1.343, allocations: 0.6548 MB / 0.7945 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002635/1.343, allocations: 38.3 kB / 0.7945 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005273/1.343, allocations: 437.1 kB / 0.7949 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/1.344, allocations: 209.2 kB / 0.7951 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/1.344, allocations: 13.84 kB / 0.7951 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.344, allocations: 328.6 kB / 0.7954 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/1.345, allocations: 224.3 kB / 0.7957 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/1.345, allocations: 346.4 kB / 0.796 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/1.346, allocations: 251.5 kB / 0.7962 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.346, allocations: 4.656 kB / 0.7962 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001799/1.348, allocations: 0.6907 MB / 0.7969 GB, free: 129 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002657/1.348, allocations: 0.8777 MB / 0.7978 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.348, allocations: 2.281 kB / 0.7978 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/1.348, allocations: 5.891 kB / 0.7978 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.349, allocations: 166.8 kB / 0.7979 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/1.349, allocations: 5.469 kB / 0.7979 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/1.35, allocations: 84.97 kB / 0.798 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.589e-05/1.35, allocations: 25.5 kB / 0.798 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/1.35, allocations: 4.031 kB / 0.798 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001496/1.351, allocations: 0.5564 MB / 0.7986 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.351, allocations: 2.938 kB / 0.7986 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.351, allocations: 9.766 kB / 0.7986 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008804/1.352, allocations: 151.2 kB / 0.7987 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/1.352, allocations: 7.859 kB / 0.7987 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/1.353, allocations: 81.17 kB / 0.7988 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/1.353, allocations: 20.59 kB / 0.7988 GB, free: 128 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.000594/1.354, allocations: 297.1 kB / 0.7991 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/1.354, allocations: 95.8 kB / 0.7992 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/1.354, allocations: 105.9 kB / 0.7993 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.354, allocations: 8.641 kB / 0.7993 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.354, allocations: 1.156 kB / 0.7993 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.354, allocations: 2.719 kB / 0.7993 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003246/1.357, allocations: 1.533 MB / 0.8008 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.357, allocations: 0.9375 kB / 0.8008 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/1.358, allocations: 108 kB / 0.8009 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/1.358, allocations: 2.188 kB / 0.8009 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/1.358, allocations: 17.48 kB / 0.8009 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.358, allocations: 5.297 kB / 0.801 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.358, allocations: 0.8125 kB / 0.801 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/1.36, allocations: 1.043 MB / 0.802 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/1.361, allocations: 233.9 kB / 0.8022 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.864e-05/1.361, allocations: 16.66 kB / 0.8022 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/1.362, allocations: 50.72 kB / 0.8023 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.362, allocations: 34.95 kB / 0.8023 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/1.362, allocations: 19.47 kB / 0.8023 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001018/1.363, allocations: 0.5193 MB / 0.8028 GB, free: 127 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.7e-07/1.363, allocations: 0 / 0.8028 GB, free: 127 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00142/1.364, allocations: 285.2 kB / 0.8031 GB, free: 127 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.002785/1.367, allocations: 1.603 MB / 0.8047 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002864/1.37, allocations: 0.8707 MB / 0.8055 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.37, allocations: 1.172 kB / 0.8055 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009764/1.371, allocations: 293.8 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.001276/1.372, allocations: 228.6 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.004391/1.377, allocations: 3.639 MB / 0.8096 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/1.377, allocations: 1.015 MB / 0.8106 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006614/1.378, allocations: 110.7 kB / 0.8107 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/1.378, allocations: 355 kB / 0.811 GB, free: 122 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/1.378, allocations: 4 kB / 0.811 GB, free: 122 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04015/1.418, allocations: 16.64 MB / 0.8273 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/1.419, allocations: 172 kB / 0.8274 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/4.233, allocations: 0 / 0.8274 GB, free: 114.8 MB / 0.5573 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)