Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 181.7 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4483/0.4483, allocations: 90.86 MB / 99.08 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009039/0.000904, allocations: 94.86 kB / 415.5 MB, free: 9.852 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.051e-06/6.072e-06, allocations: 0 / 493.9 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3792, allocations: 72.3 MB / 0.5529 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.5083, allocations: 109.1 MB / 0.6594 GB, free: 15.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5086, allocations: 76.89 kB / 0.6595 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.05307/0.5616, allocations: 19.38 MB / 0.6784 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001203/0.5618, allocations: 24 kB / 0.6784 GB, free: 12.07 MB / 0.4948 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.002278/0.5641, allocations: 1.098 MB / 0.6795 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5642, allocations: 8.031 kB / 0.6795 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003767/0.5645, allocations: 126.5 kB / 0.6796 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.5661, allocations: 0.7274 MB / 0.6803 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/0.5663, allocations: 63.69 kB / 0.6804 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.5664, allocations: 40 kB / 0.6804 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009099/0.5673, allocations: 451.9 kB / 0.6809 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.5684, allocations: 0.6221 MB / 0.6815 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.5684, allocations: 0.8438 kB / 0.6815 GB, free: 8.801 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.5685, allocations: 4 kB / 0.6815 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.5685, allocations: 16 kB / 0.6815 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.5719, allocations: 2.21 MB / 0.6836 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.5729, allocations: 0.5297 MB / 0.6842 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.5733, allocations: 210.3 kB / 0.6844 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/0.5733, allocations: 4.5 kB / 0.6844 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000424/0.5738, allocations: 277.5 kB / 0.6846 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 2.414e-06/0.5738, allocations: 0 / 0.6846 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=60): time 0.0009251/0.5747, allocations: 0.4887 MB / 0.6851 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.5748, allocations: 137 kB / 0.6852 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.5755, allocations: 0.5552 MB / 0.6858 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.269e-05/0.5756, allocations: 25.7 kB / 0.6858 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.5758, allocations: 300.1 kB / 0.6861 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.576, allocations: 201 kB / 0.6863 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.5761, allocations: 1.406 kB / 0.6863 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5762, allocations: 326 kB / 0.6866 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.5765, allocations: 177.3 kB / 0.6868 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.5769, allocations: 285 kB / 0.687 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.5773, allocations: 199.2 kB / 0.6872 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5773, allocations: 3.938 kB / 0.6872 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009445/0.5782, allocations: 0.5498 MB / 0.6878 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004306/0.5787, allocations: 0.8793 MB / 0.6886 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5787, allocations: 4 kB / 0.6886 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.5787, allocations: 4 kB / 0.6886 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009306/0.5797, allocations: 171.7 kB / 0.6888 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.5797, allocations: 4 kB / 0.6888 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/0.5803, allocations: 71.5 kB / 0.6889 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.5804, allocations: 23.98 kB / 0.6889 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.5804, allocations: 4 kB / 0.6889 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008124/0.5812, allocations: 451.2 kB / 0.6893 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.5812, allocations: 0 / 0.6893 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.5812, allocations: 8 kB / 0.6893 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.5821, allocations: 156 kB / 0.6895 GB, free: 348 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.5821, allocations: 4 kB / 0.6895 GB, free: 344 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.5827, allocations: 59.56 kB / 0.6895 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.5827, allocations: 24 kB / 0.6896 GB, free: 260 kB / 0.4948 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 () * 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.0001816/0.5829, allocations: 119.7 kB / 0.6897 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.5831, allocations: 94.84 kB / 0.6898 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.5833, allocations: 92.56 kB / 0.6899 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5833, allocations: 8 kB / 0.6899 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.5834, allocations: 4.844 kB / 0.6899 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.5834, allocations: 3.984 kB / 0.6899 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.5858, allocations: 1.316 MB / 0.6912 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5858, allocations: 0 / 0.6912 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007008/0.5865, allocations: 107.9 kB / 0.6913 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.5865, allocations: 4 kB / 0.6913 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/0.5866, allocations: 3.984 kB / 0.6913 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.5866, allocations: 11.88 kB / 0.6913 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5866, allocations: 4 kB / 0.6913 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001424/0.588, allocations: 0.8674 MB / 0.6921 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.5884, allocations: 229.6 kB / 0.6923 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.5886, allocations: 4 kB / 0.6924 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/0.5892, allocations: 43.95 kB / 0.6924 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.5893, allocations: 28.45 kB / 0.6924 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.5894, allocations: 27.98 kB / 0.6924 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0006442/0.59, allocations: 431.2 kB / 0.6929 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009255/0.591, allocations: 267.3 kB / 0.6931 GB, free: 12.54 MB / 0.5105 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 () * 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.000203/0.5912, allocations: 111.1 kB / 0.6932 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.5926, allocations: 0.7395 MB / 0.6939 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5926, allocations: 320 / 0.6939 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.593, allocations: 253.8 kB / 0.6942 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.5941, allocations: 201.3 kB / 0.6944 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.5971, allocations: 1.161 MB / 0.6955 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009992/0.5981, allocations: 1.084 MB / 0.6966 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of SimCode: time 8.01e-07/0.5981, allocations: 0 / 0.6966 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of Templates: time 0.213/0.8111, allocations: 12.83 MB / 0.7091 GB, free: 178.6 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)