Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPID,fileNamePrefix="IDEAS_dev_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.008786/0.008785, allocations: 169.5 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8259/0.8259, allocations: 135.2 MB / 151 MB, free: 13.83 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.727/1.727, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001041/0.001041, allocations: 98.67 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004619, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6773, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.8603, allocations: 119.3 MB / 0.766 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.8606, allocations: 83.94 kB / 0.7661 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04755/0.9081, allocations: 16.93 MB / 0.7826 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9082, allocations: 0 / 0.7826 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.289e-05/0.9083, allocations: 20 kB / 0.7827 GB, free: 11.59 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.002047/0.9103, allocations: 1.075 MB / 0.7837 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.9104, allocations: 8.031 kB / 0.7837 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.9105, allocations: 94.47 kB / 0.7838 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.9107, allocations: 94.88 kB / 0.7839 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.9117, allocations: 0.5746 MB / 0.7845 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.9119, allocations: 104.4 kB / 0.7846 GB, free: 9.523 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.912, allocations: 59.91 kB / 0.7846 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.9132, allocations: 0.6526 MB / 0.7853 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.9132, allocations: 3.938 kB / 0.7853 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.972e-05/0.9133, allocations: 23.95 kB / 0.7853 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.9133, allocations: 12 kB / 0.7853 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.9143, allocations: 0.4957 MB / 0.7858 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.9173, allocations: 2.205 MB / 0.7879 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.9187, allocations: 0.5987 MB / 0.7885 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/0.9188, allocations: 4.719 kB / 0.7885 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007516/0.9195, allocations: 321.9 kB / 0.7888 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=45): time 2.946e-06/0.9195, allocations: 4 kB / 0.7888 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of matching and sorting (n=45): time 0.001563/0.9211, allocations: 0.7125 MB / 0.7895 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.9212, allocations: 199.7 kB / 0.7897 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.9219, allocations: 0.531 MB / 0.7902 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.922, allocations: 37.7 kB / 0.7903 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.9223, allocations: 364.8 kB / 0.7906 GB, free: 3.098 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.9225, allocations: 161.8 kB / 0.7908 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.9225, allocations: 12 kB / 0.7908 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9226, allocations: 329.9 kB / 0.7911 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.9231, allocations: 205 kB / 0.7913 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.9237, allocations: 347.6 kB / 0.7916 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.9242, allocations: 262.4 kB / 0.7919 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.9242, allocations: 3.938 kB / 0.7919 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001234/0.9255, allocations: 0.6569 MB / 0.7925 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004824/0.926, allocations: 0.9908 MB / 0.7935 GB, free: 8 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.926, allocations: 7.938 kB / 0.7935 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5912/1.517, allocations: 4.234 kB / 0.7935 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.518, allocations: 117.5 kB / 0.7936 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/1.518, allocations: 8.875 kB / 0.7936 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/1.519, allocations: 87.78 kB / 0.7937 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/1.519, allocations: 18.95 kB / 0.7937 GB, free: 132 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/1.519, allocations: 3.906 kB / 0.7937 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001803/1.521, allocations: 0.5464 MB / 0.7943 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.521, allocations: 6.719 kB / 0.7943 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.521, allocations: 8.234 kB / 0.7943 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/1.522, allocations: 112.4 kB / 0.7944 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/1.522, allocations: 8.328 kB / 0.7944 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007153/1.522, allocations: 78.27 kB / 0.7945 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/1.523, allocations: 20.58 kB / 0.7945 GB, free: 132 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.0006078/1.523, allocations: 281 kB / 0.7948 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/1.523, allocations: 71.97 kB / 0.7948 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/1.524, allocations: 81.23 kB / 0.7949 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/1.524, allocations: 3.875 kB / 0.7949 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.524, allocations: 0 / 0.7949 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/1.524, allocations: 3.609 kB / 0.7949 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.525, allocations: 0.6527 MB / 0.7955 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.525, allocations: 2.516 kB / 0.7955 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/1.525, allocations: 94.12 kB / 0.7956 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.525, allocations: 2.188 kB / 0.7956 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/1.525, allocations: 11.94 kB / 0.7956 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.525, allocations: 5.156 kB / 0.7957 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.525, allocations: 1.078 kB / 0.7957 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/1.528, allocations: 0.8398 MB / 0.7965 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/1.528, allocations: 202.5 kB / 0.7967 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.752e-05/1.528, allocations: 9.719 kB / 0.7967 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005508/1.529, allocations: 63.64 kB / 0.7967 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/1.529, allocations: 31.14 kB / 0.7968 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/1.529, allocations: 16.3 kB / 0.7968 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007541/1.53, allocations: 437.5 kB / 0.7972 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.53, allocations: 0 / 0.7972 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009781/1.531, allocations: 229.3 kB / 0.7974 GB, free: 131.3 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.002339/1.533, allocations: 1.404 MB / 0.7988 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002188/1.535, allocations: 0.8844 MB / 0.7997 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.535, allocations: 7.859 kB / 0.7997 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006232/1.536, allocations: 252 kB / 0.7999 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.537, allocations: 167.7 kB / 0.8001 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/1.541, allocations: 3.306 MB / 0.8033 GB, free: 128 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/1.541, allocations: 0.9333 MB / 0.8042 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005946/1.542, allocations: 91.3 kB / 0.8043 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/1.542, allocations: 259.3 kB / 0.8045 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/1.542, allocations: 0.5625 kB / 0.8045 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/1.574, allocations: 13.63 MB / 0.8178 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/1.574, allocations: 171.3 kB / 0.818 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/4.445, allocations: 0 / 0.818 GB, free: 123.8 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_LimPID.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)