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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 181.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.515/0.515, allocations: 91.98 MB / 108.5 MB, free: 13.09 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.582/1.582, allocations: 223.2 MB / 354.3 MB, free: 12.16 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.0008675/0.0008676, allocations: 99.33 kB / 427.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1467, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5954/0.7422, allocations: 109.9 MB / 0.6762 GB, free: 10.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.7425, allocations: 83.95 kB / 0.6763 GB, free: 10.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05527/0.7978, allocations: 19.86 MB / 0.6957 GB, free: 6.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.7979, allocations: 0 / 0.6957 GB, free: 6.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000139/0.798, allocations: 32.12 kB / 0.6957 GB, free: 6.516 MB / 490.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.003096/0.8011, allocations: 1.245 MB / 0.6969 GB, free: 5.215 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.287e-05/0.8012, allocations: 8.031 kB / 0.6969 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002753/0.8015, allocations: 114.5 kB / 0.6971 GB, free: 5.086 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.8019, allocations: 118.6 kB / 0.6972 GB, free: 4.969 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.8036, allocations: 0.7345 MB / 0.6979 GB, free: 4.191 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.8037, allocations: 83.7 kB / 0.698 GB, free: 4.105 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.8038, allocations: 75.91 kB / 0.698 GB, free: 4.031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.8054, allocations: 0.7705 MB / 0.6988 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.8054, allocations: 3.938 kB / 0.6988 GB, free: 3.207 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.599e-05/0.8055, allocations: 32 kB / 0.6988 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.8055, allocations: 16 kB / 0.6988 GB, free: 3.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.8068, allocations: 0.5711 MB / 0.6994 GB, free: 2.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004083/0.8109, allocations: 2.349 MB / 0.7017 GB, free: 172 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.8127, allocations: 0.7101 MB / 0.7024 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.599e-05/0.8128, allocations: 4.562 kB / 0.7024 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008626/0.8137, allocations: 351 kB / 0.7027 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=60): time 3.606e-06/0.8137, allocations: 0 / 0.7027 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=60): time 0.001925/0.8156, allocations: 0.8223 MB / 0.7035 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.8158, allocations: 133.1 kB / 0.7037 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009705/0.8167, allocations: 0.6611 MB / 0.7043 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.8168, allocations: 37.7 kB / 0.7043 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.8173, allocations: 440.5 kB / 0.7048 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.8175, allocations: 205 kB / 0.7049 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.8176, allocations: 12 kB / 0.705 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.8177, allocations: 342 kB / 0.7053 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.8183, allocations: 225.2 kB / 0.7055 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.8189, allocations: 347.9 kB / 0.7058 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005631/0.8195, allocations: 250.1 kB / 0.7061 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.8195, allocations: 4 kB / 0.7061 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00144/0.821, allocations: 0.701 MB / 0.7068 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005005/0.8215, allocations: 0.8898 MB / 0.7076 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.8215, allocations: 0 / 0.7076 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.8215, allocations: 8 kB / 0.7076 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.8224, allocations: 155.8 kB / 0.7078 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8225, allocations: 4 kB / 0.7078 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/0.8231, allocations: 87.39 kB / 0.7079 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.8231, allocations: 24 kB / 0.7079 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.8232, allocations: 4 kB / 0.7079 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001101/0.8243, allocations: 0.5518 MB / 0.7084 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8243, allocations: 4.25 kB / 0.7084 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.8243, allocations: 8 kB / 0.7085 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.8251, allocations: 155.8 kB / 0.7086 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.8251, allocations: 4 kB / 0.7086 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.8257, allocations: 75.5 kB / 0.7087 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.8258, allocations: 27.94 kB / 0.7087 GB, free: 8.797 MB / 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 () * Number of clocked 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.0004201/0.8262, allocations: 292.9 kB / 0.709 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.8264, allocations: 94.78 kB / 0.7091 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.8266, allocations: 101.2 kB / 0.7092 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.8266, allocations: 8 kB / 0.7092 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.8266, allocations: 0 / 0.7092 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.8266, allocations: 3.984 kB / 0.7092 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.8293, allocations: 1.536 MB / 0.7107 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8293, allocations: 0 / 0.7107 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.8299, allocations: 111.8 kB / 0.7108 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.8299, allocations: 8 kB / 0.7108 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.83, allocations: 15.98 kB / 0.7108 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.83, allocations: 3.938 kB / 0.7108 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.83, allocations: 3.953 kB / 0.7108 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.8319, allocations: 1.037 MB / 0.7118 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.8323, allocations: 231.8 kB / 0.7121 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8324, allocations: 12 kB / 0.7121 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.8329, allocations: 55.95 kB / 0.7121 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.833, allocations: 36.47 kB / 0.7121 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.8331, allocations: 19.98 kB / 0.7122 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007676/0.8339, allocations: 0.5146 MB / 0.7127 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8339, allocations: 0 / 0.7127 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008936/0.8348, allocations: 283.1 kB / 0.7129 GB, free: 4.352 MB / 0.4948 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 () * Number of clocked 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.002507/0.8373, allocations: 1.606 MB / 0.7145 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.8393, allocations: 0.8666 MB / 0.7154 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8394, allocations: 0 / 0.7154 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005825/0.8399, allocations: 295.1 kB / 0.7156 GB, free: 1.566 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.8411, allocations: 230.5 kB / 0.7159 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/0.847, allocations: 3.637 MB / 0.7194 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.8479, allocations: 1.013 MB / 0.7204 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006861/0.8486, allocations: 114.3 kB / 0.7205 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/0.8492, allocations: 359.2 kB / 0.7208 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/0.8493, allocations: 4 kB / 0.7209 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.8889, allocations: 16.65 MB / 0.7371 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.8891, allocations: 177.1 kB / 0.7373 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.363, allocations: 3.125 kB / 0.7373 GB, free: 11.45 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)