Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7143/0.7143, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 188.7 kB / 169.7 MB, free: 1.723 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 404.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008975/0.0008974, allocations: 94.11 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.848e-05, allocations: 8 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 76.75 MB / 0.6281 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4828/0.6258, allocations: 111.1 MB / 0.7366 GB, free: 2.422 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.626, allocations: 86.06 kB / 0.7367 GB, free: 2.375 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05527/0.6813, allocations: 20.76 MB / 0.757 GB, free: 392 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6814, allocations: 0 / 0.757 GB, free: 392 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.629e-05/0.6815, allocations: 24 kB / 0.757 GB, free: 368 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001956/0.6834, allocations: 1.102 MB / 0.7581 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.6835, allocations: 11.97 kB / 0.7581 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.6837, allocations: 126.4 kB / 0.7582 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.6851, allocations: 0.7424 MB / 0.7589 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.6853, allocations: 87.64 kB / 0.759 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.6854, allocations: 79.95 kB / 0.7591 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.6866, allocations: 0.7316 MB / 0.7598 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.6866, allocations: 4 kB / 0.7598 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.6867, allocations: 24 kB / 0.7598 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.6867, allocations: 23.98 kB / 0.7598 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.6876, allocations: 493.1 kB / 0.7603 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.6911, allocations: 2.383 MB / 0.7626 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.6922, allocations: 0.5899 MB / 0.7632 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.6926, allocations: 218.5 kB / 0.7634 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.6927, allocations: 8.562 kB / 0.7634 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.6932, allocations: 307 kB / 0.7637 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.947e-06/0.6932, allocations: 3.984 kB / 0.7637 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0009319/0.6941, allocations: 0.5218 MB / 0.7642 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.6942, allocations: 137.1 kB / 0.7644 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/0.6951, allocations: 0.6618 MB / 0.765 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/0.6951, allocations: 49.56 kB / 0.7651 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.6955, allocations: 444.5 kB / 0.7655 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.6957, allocations: 201 kB / 0.7657 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.6957, allocations: 16 kB / 0.7657 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6959, allocations: 334.1 kB / 0.766 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.6962, allocations: 181.5 kB / 0.7662 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.6966, allocations: 299.5 kB / 0.7665 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.6969, allocations: 211.2 kB / 0.7667 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.697, allocations: 4 kB / 0.7667 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009709/0.6979, allocations: 0.6071 MB / 0.7673 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003816/0.6983, allocations: 0.8754 MB / 0.7681 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.6983, allocations: 4 kB / 0.7681 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.6984, allocations: 4 kB / 0.7681 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.6993, allocations: 167.8 kB / 0.7683 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.6993, allocations: 7.938 kB / 0.7683 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.6998, allocations: 87.34 kB / 0.7684 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.6999, allocations: 23.98 kB / 0.7684 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.6999, allocations: 4 kB / 0.7684 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007579/0.7007, allocations: 493.2 kB / 0.7689 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.7007, allocations: 0 / 0.7689 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.7007, allocations: 8 kB / 0.7689 GB, free: 3.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.7014, allocations: 147.7 kB / 0.769 GB, free: 3.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7014, allocations: 4.25 kB / 0.769 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.7019, allocations: 71.41 kB / 0.7691 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.7019, allocations: 27.95 kB / 0.7691 GB, free: 3.484 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.0001645/0.7021, allocations: 132.9 kB / 0.7692 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.7022, allocations: 94.88 kB / 0.7693 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.7025, allocations: 105.4 kB / 0.7694 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7025, allocations: 8 kB / 0.7694 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.7025, allocations: 0 / 0.7694 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.7025, allocations: 7.984 kB / 0.7695 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.7045, allocations: 1.447 MB / 0.7709 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7045, allocations: 0 / 0.7709 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.7051, allocations: 115.9 kB / 0.771 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.7051, allocations: 0 / 0.771 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.7052, allocations: 19.98 kB / 0.771 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7052, allocations: 4 kB / 0.771 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7052, allocations: 3.953 kB / 0.771 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.7065, allocations: 0.9123 MB / 0.7719 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.7069, allocations: 235.7 kB / 0.7721 GB, free: 316 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.647e-05/0.707, allocations: 15.98 kB / 0.7721 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.7075, allocations: 47.97 kB / 0.7722 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.7076, allocations: 44.44 kB / 0.7722 GB, free: 208 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.7077, allocations: 23.94 kB / 0.7722 GB, free: 184 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007576/0.7085, allocations: 0.5152 MB / 0.7727 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7085, allocations: 0 / 0.7727 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007915/0.7093, allocations: 291 kB / 0.773 GB, free: 15.36 MB / 0.5261 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.0002053/0.7095, allocations: 130.8 kB / 0.7731 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.7108, allocations: 0.779 MB / 0.7739 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7108, allocations: 8.125 kB / 0.7739 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.7112, allocations: 247.2 kB / 0.7742 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7123, allocations: 250.1 kB / 0.7744 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.7145, allocations: 1.177 MB / 0.7755 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.7151, allocations: 1.023 MB / 0.7765 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007743/0.7159, allocations: 169.8 kB / 0.7767 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.7161, allocations: 51.42 kB / 0.7768 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/0.7161, allocations: 0 / 0.7768 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of Templates: time 0.0202/0.7363, allocations: 11.29 MB / 0.7878 GB, free: 304 kB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)