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.001002/0.001002, allocations: 182.4 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5751/0.5751, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.381/1.381, allocations: 221.3 MB / 348.3 MB, free: 496 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000884/0.0008839, allocations: 103 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.174e-05, allocations: 4 kB / 0.4896 GB, free: 5.379 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3765, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1336/0.5102, allocations: 109.8 MB / 0.6674 GB, free: 10.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.5104, allocations: 83.95 kB / 0.6675 GB, free: 10.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05319/0.5636, allocations: 19.83 MB / 0.6869 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5637, allocations: 0 / 0.6869 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.38e-05/0.5638, allocations: 28.12 kB / 0.6869 GB, free: 6.559 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.001763/0.5655, allocations: 1.072 MB / 0.688 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5656, allocations: 11.98 kB / 0.688 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.5658, allocations: 118.6 kB / 0.6881 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.5671, allocations: 0.7307 MB / 0.6888 GB, free: 4.539 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.5672, allocations: 87.66 kB / 0.6889 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/0.5673, allocations: 71.91 kB / 0.689 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.5684, allocations: 0.716 MB / 0.6896 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5685, allocations: 0 / 0.6896 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/0.5686, allocations: 37.2 kB / 0.6897 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.5686, allocations: 16 kB / 0.6897 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.5694, allocations: 485.1 kB / 0.6902 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.5727, allocations: 2.353 MB / 0.6925 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.5738, allocations: 0.5931 MB / 0.693 GB, free: 68 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.5742, allocations: 226.5 kB / 0.6933 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.5742, allocations: 8.562 kB / 0.6933 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005048/0.5748, allocations: 299.1 kB / 0.6935 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.504e-06/0.5748, allocations: 0 / 0.6935 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0009157/0.5757, allocations: 0.5179 MB / 0.6941 GB, free: 15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.5758, allocations: 137.1 kB / 0.6942 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.5766, allocations: 0.6572 MB / 0.6948 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.5766, allocations: 37.7 kB / 0.6949 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.577, allocations: 443 kB / 0.6953 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.5771, allocations: 205 kB / 0.6955 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.5772, allocations: 12 kB / 0.6955 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5773, allocations: 334.1 kB / 0.6958 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.5777, allocations: 181.6 kB / 0.696 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.5781, allocations: 296 kB / 0.6963 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.5784, allocations: 215.2 kB / 0.6965 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5784, allocations: 0 / 0.6965 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009318/0.5794, allocations: 0.6071 MB / 0.6971 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003519/0.5797, allocations: 0.8793 MB / 0.6979 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5798, allocations: 4 kB / 0.6979 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.5798, allocations: 12 kB / 0.6979 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008791/0.5807, allocations: 155.8 kB / 0.6981 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.5807, allocations: 15.36 kB / 0.6981 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.5812, allocations: 91.34 kB / 0.6982 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.5813, allocations: 20 kB / 0.6982 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.5813, allocations: 4.781 kB / 0.6982 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008068/0.5821, allocations: 0.4933 MB / 0.6987 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5821, allocations: 4.25 kB / 0.6987 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.5822, allocations: 8 kB / 0.6987 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/0.5829, allocations: 151.8 kB / 0.6989 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5829, allocations: 7.938 kB / 0.6989 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.5834, allocations: 79.5 kB / 0.6989 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.5835, allocations: 23.95 kB / 0.699 GB, free: 9.812 MB / 0.5105 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.0001727/0.5837, allocations: 136.9 kB / 0.6991 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.5838, allocations: 98.77 kB / 0.6992 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.5841, allocations: 101.2 kB / 0.6993 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.5841, allocations: 8 kB / 0.6993 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5841, allocations: 0.8438 kB / 0.6993 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5841, allocations: 0 / 0.6993 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.5861, allocations: 1.447 MB / 0.7007 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.5861, allocations: 0 / 0.7007 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005872/0.5867, allocations: 111.8 kB / 0.7008 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5868, allocations: 4 kB / 0.7008 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.5868, allocations: 19.98 kB / 0.7008 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5868, allocations: 0 / 0.7008 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5868, allocations: 3.953 kB / 0.7008 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5881, allocations: 0.917 MB / 0.7017 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.5884, allocations: 227.8 kB / 0.7019 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/0.5885, allocations: 12 kB / 0.702 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/0.5891, allocations: 55.95 kB / 0.702 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.5892, allocations: 36.5 kB / 0.702 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.5892, allocations: 23.94 kB / 0.7021 GB, free: 6.523 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006927/0.5899, allocations: 0.507 MB / 0.7026 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5899, allocations: 0 / 0.7026 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007402/0.5907, allocations: 287.1 kB / 0.7028 GB, free: 5.738 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.0001666/0.5908, allocations: 123.3 kB / 0.703 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001281/0.5921, allocations: 0.7894 MB / 0.7037 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5921, allocations: 1 kB / 0.7037 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.5925, allocations: 251.2 kB / 0.704 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5936, allocations: 234.7 kB / 0.7042 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.5957, allocations: 1.154 MB / 0.7053 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.5963, allocations: 1.019 MB / 0.7063 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007492/0.597, allocations: 169.6 kB / 0.7065 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.5972, allocations: 51.44 kB / 0.7065 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of SimCode: time 4.61e-07/0.5972, allocations: 6.562 kB / 0.7065 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of Templates: time 0.3206/0.9178, allocations: 10.76 MB / 0.717 GB, free: 130.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)