Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4974/0.4974, allocations: 90.91 MB / 99.34 MB, free: 2.184 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008218/0.0008219, allocations: 98.19 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.377e-05/1.379e-05, allocations: 6.891 kB / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5078/0.6453, allocations: 108.8 MB / 0.6597 GB, free: 1.594 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.6455, allocations: 79.02 kB / 0.6598 GB, free: 1.551 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0443/0.6898, allocations: 16.8 MB / 0.6762 GB, free: 3.621 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6899, allocations: 0 / 0.6762 GB, free: 3.621 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.137e-05/0.6899, allocations: 16 kB / 0.6762 GB, free: 3.605 MB / 474.7 MB 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.001505/0.6915, allocations: 0.9403 MB / 0.6772 GB, free: 2.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6915, allocations: 8.031 kB / 0.6772 GB, free: 2.652 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.6917, allocations: 94.88 kB / 0.6773 GB, free: 2.559 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.6926, allocations: 0.5786 MB / 0.6778 GB, free: 2.035 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.6927, allocations: 80.7 kB / 0.6779 GB, free: 1.941 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.6928, allocations: 35.95 kB / 0.6779 GB, free: 1.906 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005932/0.6934, allocations: 346.9 kB / 0.6783 GB, free: 1.707 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/0.6941, allocations: 0.5075 MB / 0.6788 GB, free: 1.281 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.6942, allocations: 0 / 0.6788 GB, free: 1.281 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.6942, allocations: 0 / 0.6788 GB, free: 1.281 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.6942, allocations: 16 kB / 0.6788 GB, free: 1.266 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.697, allocations: 2.093 MB / 0.6808 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.6978, allocations: 431.4 kB / 0.6812 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.6981, allocations: 165 kB / 0.6814 GB, free: 15.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.6981, allocations: 12.2 kB / 0.6814 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004459/0.6986, allocations: 240.2 kB / 0.6816 GB, free: 14.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 1.943e-06/0.6986, allocations: 0 / 0.6816 GB, free: 14.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.0006739/0.6993, allocations: 383.6 kB / 0.682 GB, free: 14.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.6994, allocations: 187.9 kB / 0.6822 GB, free: 14.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.6999, allocations: 473.7 kB / 0.6826 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.6999, allocations: 30.45 kB / 0.6827 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.7002, allocations: 363.6 kB / 0.683 GB, free: 13.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.7003, allocations: 160.1 kB / 0.6832 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.7003, allocations: 0 / 0.6832 GB, free: 13.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.7005, allocations: 383.6 kB / 0.6835 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.7007, allocations: 141.4 kB / 0.6837 GB, free: 13.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/0.701, allocations: 269.1 kB / 0.6839 GB, free: 12.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.7013, allocations: 160.2 kB / 0.6841 GB, free: 12.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7013, allocations: 7.938 kB / 0.6841 GB, free: 12.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006843/0.702, allocations: 472.5 kB / 0.6845 GB, free: 12.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004307/0.7024, allocations: 0.9976 MB / 0.6855 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.7024, allocations: 4 kB / 0.6855 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.7025, allocations: 4 kB / 0.6855 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.703, allocations: 119.6 kB / 0.6856 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.703, allocations: 4 kB / 0.6856 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.7034, allocations: 75.48 kB / 0.6857 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.7035, allocations: 23.7 kB / 0.6857 GB, free: 11.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.7035, allocations: 4 kB / 0.6857 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005736/0.7041, allocations: 381.9 kB / 0.6861 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.7041, allocations: 0 / 0.6861 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.7041, allocations: 8 kB / 0.6861 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.7046, allocations: 115.1 kB / 0.6862 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.7046, allocations: 7.984 kB / 0.6862 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.705, allocations: 59.69 kB / 0.6863 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.705, allocations: 15.38 kB / 0.6863 GB, free: 10.77 MB / 490.7 MB 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 () * 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.0001415/0.7052, allocations: 120.8 kB / 0.6864 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.7053, allocations: 71.11 kB / 0.6865 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.7054, allocations: 72.72 kB / 0.6865 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.7054, allocations: 12 kB / 0.6866 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.7055, allocations: 0 / 0.6866 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7055, allocations: 0 / 0.6866 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.7061, allocations: 0.5795 MB / 0.6871 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.7061, allocations: 4.062 kB / 0.6871 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.7066, allocations: 99.25 kB / 0.6872 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7066, allocations: 8 kB / 0.6872 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.7066, allocations: 0 / 0.6872 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.7067, allocations: 7.953 kB / 0.6872 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7067, allocations: 0 / 0.6872 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.7075, allocations: 0.6142 MB / 0.6878 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.7078, allocations: 199.1 kB / 0.688 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.7079, allocations: 4 kB / 0.688 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.7084, allocations: 51.95 kB / 0.6881 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.7085, allocations: 46.39 kB / 0.6881 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.7085, allocations: 19.92 kB / 0.6881 GB, free: 9.219 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003755/0.7089, allocations: 361.9 kB / 0.6885 GB, free: 8.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7089, allocations: 0 / 0.6885 GB, free: 8.957 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000603/0.7095, allocations: 211.1 kB / 0.6887 GB, free: 8.75 MB / 490.7 MB 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) * 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.0001725/0.7097, allocations: 119 kB / 0.6888 GB, free: 8.625 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009222/0.7106, allocations: 0.7066 MB / 0.6895 GB, free: 8.105 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7106, allocations: 384 / 0.6895 GB, free: 8.105 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.7109, allocations: 180.7 kB / 0.6897 GB, free: 7.988 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/0.7117, allocations: 168.1 kB / 0.6898 GB, free: 7.863 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.7133, allocations: 0.856 MB / 0.6907 GB, free: 7.086 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.7137, allocations: 0.9386 MB / 0.6916 GB, free: 6.121 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000547/0.7142, allocations: 127.4 kB / 0.6917 GB, free: 5.992 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.7144, allocations: 35.44 kB / 0.6917 GB, free: 5.957 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7144, allocations: 0 / 0.6917 GB, free: 5.957 MB / 490.7 MB Notification: Performance of Templates: time 0.01483/0.7292, allocations: 8.14 MB / 0.6997 GB, free: 13.91 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)