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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 177.6 kB / 8.002 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.5289/0.5289, allocations: 90.91 MB / 99.34 MB, free: 2.191 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.458/1.458, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.0008132/0.0008133, allocations: 95.44 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.883e-05, allocations: 3.938 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 72.31 MB / 0.5535 GB, free: 12.28 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5007/0.6456, allocations: 109.2 MB / 0.6601 GB, free: 1.199 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.6458, allocations: 75.58 kB / 0.6602 GB, free: 1.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05082/0.6967, allocations: 19.68 MB / 0.6794 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6967, allocations: 0 / 0.6794 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.548e-05/0.6968, allocations: 28.12 kB / 0.6794 GB, free: 0.8203 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001813/0.6986, allocations: 1.078 MB / 0.6805 GB, free: 15.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.6987, allocations: 12.03 kB / 0.6805 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.6989, allocations: 118.6 kB / 0.6806 GB, free: 15.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.7001, allocations: 0.7213 MB / 0.6813 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.7002, allocations: 63.66 kB / 0.6814 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.284e-05/0.7003, allocations: 51.22 kB / 0.6814 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007724/0.7011, allocations: 449.3 kB / 0.6818 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/0.7021, allocations: 0.6204 MB / 0.6825 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.7021, allocations: 4 kB / 0.6825 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.7022, allocations: 4 kB / 0.6825 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.7022, allocations: 16 kB / 0.6825 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.7053, allocations: 2.209 MB / 0.6846 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.7063, allocations: 0.5566 MB / 0.6852 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.7066, allocations: 215.3 kB / 0.6854 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.7067, allocations: 8.562 kB / 0.6854 GB, free: 11.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004355/0.7071, allocations: 278.7 kB / 0.6857 GB, free: 11.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 1.963e-06/0.7071, allocations: 0 / 0.6857 GB, free: 11.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.0007806/0.7079, allocations: 492.8 kB / 0.6861 GB, free: 11.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/0.708, allocations: 144.5 kB / 0.6863 GB, free: 11.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.7087, allocations: 0.5526 MB / 0.6868 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.7087, allocations: 33.14 kB / 0.6868 GB, free: 10.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.7091, allocations: 441 kB / 0.6873 GB, free: 10.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.7092, allocations: 198.1 kB / 0.6874 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.7092, allocations: 0 / 0.6874 GB, free: 10.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7094, allocations: 332.8 kB / 0.6878 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.7097, allocations: 164.9 kB / 0.6879 GB, free: 9.746 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.71, allocations: 285.1 kB / 0.6882 GB, free: 9.512 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.7103, allocations: 200.3 kB / 0.6884 GB, free: 9.398 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7103, allocations: 0 / 0.6884 GB, free: 9.398 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008197/0.7111, allocations: 0.5562 MB / 0.6889 GB, free: 8.977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000423/0.7116, allocations: 0.8744 MB / 0.6898 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.7116, allocations: 11.98 kB / 0.6898 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.7116, allocations: 7.953 kB / 0.6898 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.7125, allocations: 159.5 kB / 0.6899 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.7125, allocations: 4 kB / 0.69 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.713, allocations: 67.48 kB / 0.69 GB, free: 7.812 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.713, allocations: 25.94 kB / 0.69 GB, free: 7.793 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.7131, allocations: 4 kB / 0.69 GB, free: 7.789 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007049/0.7138, allocations: 442.3 kB / 0.6905 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7138, allocations: 8.031 kB / 0.6905 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.281e-06/0.7138, allocations: 4 kB / 0.6905 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/0.7145, allocations: 151.8 kB / 0.6906 GB, free: 7.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.7146, allocations: 4 kB / 0.6906 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.715, allocations: 59.56 kB / 0.6907 GB, free: 7.258 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.715, allocations: 24 kB / 0.6907 GB, free: 7.234 MB / 490.7 MB 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.0001538/0.7152, allocations: 124.9 kB / 0.6908 GB, free: 7.105 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.7153, allocations: 86.95 kB / 0.6909 GB, free: 7.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.7155, allocations: 96.8 kB / 0.691 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7155, allocations: 4 kB / 0.691 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.7155, allocations: 0 / 0.691 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.7155, allocations: 8 kB / 0.691 GB, free: 6.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.7173, allocations: 1.314 MB / 0.6923 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7173, allocations: 0 / 0.6923 GB, free: 5.551 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/0.7179, allocations: 115.8 kB / 0.6924 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.718, allocations: 4 kB / 0.6924 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.718, allocations: 11.92 kB / 0.6924 GB, free: 5.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.718, allocations: 4 kB / 0.6924 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.718, allocations: 0 / 0.6924 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.7192, allocations: 0.8656 MB / 0.6933 GB, free: 4.539 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.7195, allocations: 223.8 kB / 0.6935 GB, free: 4.301 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/0.7196, allocations: 4 kB / 0.6935 GB, free: 4.297 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.7201, allocations: 43.95 kB / 0.6935 GB, free: 4.254 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.7202, allocations: 36.5 kB / 0.6936 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.7203, allocations: 16 kB / 0.6936 GB, free: 4.199 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004912/0.7208, allocations: 435.1 kB / 0.694 GB, free: 3.777 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7208, allocations: 0 / 0.694 GB, free: 3.777 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007129/0.7215, allocations: 267.2 kB / 0.6942 GB, free: 3.516 MB / 490.7 MB 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.0001661/0.7217, allocations: 115.1 kB / 0.6944 GB, free: 3.395 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.7228, allocations: 0.7427 MB / 0.6951 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7228, allocations: 0 / 0.6951 GB, free: 2.648 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.7232, allocations: 235 kB / 0.6953 GB, free: 2.422 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.7242, allocations: 224.2 kB / 0.6955 GB, free: 2.211 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.7262, allocations: 1.124 MB / 0.6966 GB, free: 1.055 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.7267, allocations: 1.014 MB / 0.6976 GB, free: 8 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007152/0.7275, allocations: 165.2 kB / 0.6978 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.7276, allocations: 47.44 kB / 0.6978 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.7276, allocations: 0 / 0.6978 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.01594/0.7436, allocations: 9.676 MB / 0.7073 GB, free: 6.234 MB / 0.4948 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)