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.001103/0.001103, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5123/0.5123, allocations: 90.8 MB / 104.5 MB, free: 13.9 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.43/1.43, allocations: 221.3 MB / 348.3 MB, free: 12.57 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.0009383/0.0009386, allocations: 104.7 kB / 421.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.065e-05, allocations: 0 / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 72.31 MB / 0.5603 GB, free: 6.309 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5969, allocations: 109.8 MB / 0.6675 GB, free: 14.14 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.5972, allocations: 79.39 kB / 0.6676 GB, free: 14.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05382/0.651, allocations: 19.83 MB / 0.687 GB, free: 11.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6511, allocations: 4 kB / 0.687 GB, free: 11.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001178/0.6512, allocations: 28.12 kB / 0.687 GB, free: 11.21 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.002091/0.6533, allocations: 1.082 MB / 0.6881 GB, free: 10.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6534, allocations: 11.98 kB / 0.6881 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002324/0.6536, allocations: 110.5 kB / 0.6882 GB, free: 9.953 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000352/0.654, allocations: 126.5 kB / 0.6883 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.6555, allocations: 0.7307 MB / 0.689 GB, free: 9.055 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.381e-05/0.6556, allocations: 83.7 kB / 0.6891 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.6558, allocations: 64 kB / 0.6892 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.6569, allocations: 0.7238 MB / 0.6899 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.657, allocations: 0 / 0.6899 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.657, allocations: 28 kB / 0.6899 GB, free: 8.109 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.6571, allocations: 16 kB / 0.6899 GB, free: 8.094 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.6579, allocations: 489.1 kB / 0.6904 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.6614, allocations: 2.353 MB / 0.6927 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.6626, allocations: 0.5897 MB / 0.6932 GB, free: 4.594 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.6629, allocations: 230.5 kB / 0.6935 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.663, allocations: 8.562 kB / 0.6935 GB, free: 4.359 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005035/0.6635, allocations: 295.1 kB / 0.6938 GB, free: 4.059 MB / 490.7 MB Notification: Performance of pre-optimization done (n=60): time 3.627e-06/0.6635, allocations: 0 / 0.6938 GB, free: 4.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.0009105/0.6644, allocations: 0.5295 MB / 0.6943 GB, free: 3.516 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.6645, allocations: 137.1 kB / 0.6944 GB, free: 3.352 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.6653, allocations: 0.6456 MB / 0.695 GB, free: 2.699 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.6654, allocations: 49.64 kB / 0.6951 GB, free: 2.645 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.6657, allocations: 440.4 kB / 0.6955 GB, free: 2.207 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.6659, allocations: 197.1 kB / 0.6957 GB, free: 2.012 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.6659, allocations: 16 kB / 0.6957 GB, free: 1.996 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.666, allocations: 330.1 kB / 0.696 GB, free: 1.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.6664, allocations: 181.6 kB / 0.6962 GB, free: 1.492 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.6668, allocations: 303.5 kB / 0.6965 GB, free: 1.156 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/0.6671, allocations: 211.2 kB / 0.6967 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6672, allocations: 0 / 0.6967 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009409/0.6681, allocations: 0.6071 MB / 0.6973 GB, free: 344 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003524/0.6685, allocations: 0.8754 MB / 0.6981 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6685, allocations: 4 kB / 0.6981 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.6685, allocations: 8 kB / 0.6981 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008614/0.6694, allocations: 163.7 kB / 0.6983 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.6694, allocations: 4 kB / 0.6983 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.67, allocations: 91.34 kB / 0.6984 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.67, allocations: 23.98 kB / 0.6984 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.67, allocations: 4.781 kB / 0.6984 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008582/0.6709, allocations: 0.4895 MB / 0.6989 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6709, allocations: 4 kB / 0.6989 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.6709, allocations: 8.188 kB / 0.6989 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007731/0.6717, allocations: 155.8 kB / 0.6991 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.6717, allocations: 4 kB / 0.6991 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.6723, allocations: 79.36 kB / 0.6991 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.6723, allocations: 32 kB / 0.6992 GB, free: 14.33 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 () * 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.000163/0.6725, allocations: 141 kB / 0.6993 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6726, allocations: 90.88 kB / 0.6994 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.6729, allocations: 101.2 kB / 0.6995 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6729, allocations: 8 kB / 0.6995 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.6729, allocations: 0 / 0.6995 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6729, allocations: 3.984 kB / 0.6995 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.6749, allocations: 1.45 MB / 0.7009 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6749, allocations: 0 / 0.7009 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.6755, allocations: 111.9 kB / 0.701 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.6755, allocations: 4 kB / 0.701 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.695e-05/0.6756, allocations: 15.98 kB / 0.701 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6756, allocations: 0 / 0.701 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6756, allocations: 11.95 kB / 0.7011 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.6769, allocations: 0.9084 MB / 0.7019 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.6772, allocations: 227.8 kB / 0.7022 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.6773, allocations: 15.98 kB / 0.7022 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.6778, allocations: 51.97 kB / 0.7022 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.6779, allocations: 44.39 kB / 0.7023 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.678, allocations: 19.98 kB / 0.7023 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006072/0.6786, allocations: 0.507 MB / 0.7028 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6786, allocations: 0 / 0.7028 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006913/0.6793, allocations: 287 kB / 0.7031 GB, free: 10.25 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 () * 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.001539/0.6808, allocations: 1.482 MB / 0.7045 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.682, allocations: 0.7824 MB / 0.7053 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6821, allocations: 4.25 kB / 0.7053 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.6824, allocations: 251.2 kB / 0.7055 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.6834, allocations: 224.3 kB / 0.7057 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.6862, allocations: 1.328 MB / 0.707 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.6868, allocations: 1.011 MB / 0.708 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007941/0.6876, allocations: 173.6 kB / 0.7082 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.6881, allocations: 339.3 kB / 0.7085 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.6881, allocations: 4 kB / 0.7085 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.7221, allocations: 18.38 MB / 0.7264 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.7223, allocations: 148.4 kB / 0.7266 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.214, allocations: 0 / 0.7266 GB, free: 2.211 MB / 0.5105 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)