Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.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.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPID",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.01465/0.01465, allocations: 169.5 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.8852/0.8852, allocations: 135.2 MB / 151 MB, free: 13.81 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.734/1.734, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001283/0.001283, allocations: 96.23 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004466, allocations: 12 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6167/0.6172, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.7886, allocations: 119.3 MB / 0.766 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.7889, allocations: 87.95 kB / 0.7661 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04914/0.8381, allocations: 16.93 MB / 0.7826 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8381, allocations: 0 / 0.7826 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001358/0.8383, allocations: 20 kB / 0.7827 GB, free: 11.56 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00331/0.8416, allocations: 1.067 MB / 0.7837 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.8417, allocations: 11.97 kB / 0.7837 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003186/0.842, allocations: 94.47 kB / 0.7838 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.8424, allocations: 94.88 kB / 0.7839 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.8442, allocations: 0.5863 MB / 0.7845 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.8444, allocations: 100.4 kB / 0.7846 GB, free: 9.492 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.8445, allocations: 55.91 kB / 0.7846 GB, free: 9.438 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.8461, allocations: 0.6526 MB / 0.7853 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.8461, allocations: 0 / 0.7853 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.294e-05/0.8462, allocations: 23.95 kB / 0.7853 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.8462, allocations: 16 kB / 0.7853 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.8475, allocations: 495.6 kB / 0.7858 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/0.8517, allocations: 2.209 MB / 0.7879 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.8532, allocations: 0.604 MB / 0.7885 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.077e-05/0.8533, allocations: 8.719 kB / 0.7885 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008112/0.8541, allocations: 325.9 kB / 0.7888 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=45): time 2.915e-06/0.8541, allocations: 0 / 0.7888 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of matching and sorting (n=45): time 0.001824/0.8559, allocations: 0.7203 MB / 0.7895 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.8561, allocations: 191.7 kB / 0.7897 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.8571, allocations: 0.5388 MB / 0.7902 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.264e-05/0.8572, allocations: 37.7 kB / 0.7903 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.8576, allocations: 356.8 kB / 0.7906 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.8578, allocations: 153.9 kB / 0.7908 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.8578, allocations: 12 kB / 0.7908 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.858, allocations: 333.9 kB / 0.7911 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.8586, allocations: 213 kB / 0.7913 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.8593, allocations: 343.6 kB / 0.7916 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.8599, allocations: 258.5 kB / 0.7919 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8599, allocations: 0 / 0.7919 GB, free: 1.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001552/0.8615, allocations: 0.6646 MB / 0.7925 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.5639/1.425, allocations: 0.9836 MB / 0.7935 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/1.425, allocations: 3.25 kB / 0.7935 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.596e-05/1.426, allocations: 4.375 kB / 0.7935 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/1.426, allocations: 124.8 kB / 0.7936 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/1.426, allocations: 5.375 kB / 0.7936 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/1.427, allocations: 85.97 kB / 0.7937 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/1.427, allocations: 19.8 kB / 0.7937 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.427, allocations: 4.156 kB / 0.7937 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00165/1.429, allocations: 0.5463 MB / 0.7943 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.429, allocations: 6.734 kB / 0.7943 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/1.429, allocations: 6.625 kB / 0.7943 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/1.43, allocations: 116.1 kB / 0.7944 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.43, allocations: 9.609 kB / 0.7944 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/1.43, allocations: 81.98 kB / 0.7945 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/1.43, allocations: 19.86 kB / 0.7945 GB, free: 131.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0005457/1.431, allocations: 274.8 kB / 0.7947 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/1.431, allocations: 71.19 kB / 0.7948 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/1.431, allocations: 83.3 kB / 0.7949 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.431, allocations: 7.344 kB / 0.7949 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.431, allocations: 0.625 kB / 0.7949 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.431, allocations: 2.438 kB / 0.7949 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.432, allocations: 0.6505 MB / 0.7955 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.432, allocations: 3.391 kB / 0.7955 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/1.433, allocations: 98.84 kB / 0.7956 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.962e-06/1.433, allocations: 1.875 kB / 0.7956 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/1.433, allocations: 11.84 kB / 0.7957 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.433, allocations: 6.391 kB / 0.7957 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.433, allocations: 0.9062 kB / 0.7957 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/1.435, allocations: 0.8294 MB / 0.7965 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/1.435, allocations: 205 kB / 0.7967 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/1.435, allocations: 10.97 kB / 0.7967 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/1.436, allocations: 61.06 kB / 0.7967 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.436, allocations: 37.27 kB / 0.7968 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/1.436, allocations: 16.75 kB / 0.7968 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008166/1.437, allocations: 432.1 kB / 0.7972 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.173e-06/1.437, allocations: 0 / 0.7972 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009719/1.438, allocations: 234.7 kB / 0.7974 GB, free: 131.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.002394/1.44, allocations: 1.402 MB / 0.7988 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002346/1.443, allocations: 0.8834 MB / 0.7997 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.443, allocations: 1.516 kB / 0.7997 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006553/1.443, allocations: 256.6 kB / 0.7999 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.445, allocations: 173.2 kB / 0.8001 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/1.449, allocations: 3.303 MB / 0.8033 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/1.449, allocations: 0.9357 MB / 0.8042 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000626/1.45, allocations: 93.42 kB / 0.8043 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/1.451, allocations: 260.9 kB / 0.8045 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.703e-06/1.451, allocations: 0 / 0.8045 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/1.484, allocations: 13.64 MB / 0.8179 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.484, allocations: 157 kB / 0.818 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.023/4.508, allocations: 0 / 0.818 GB, free: 123.7 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)