Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 143.3 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 175.4 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 92.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 272.3 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.000445, allocations: 11.62 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1826, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5929/0.7755, allocations: 117 MB / 0.888 GB, free: 22.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.7758, allocations: 83.33 kB / 0.8881 GB, free: 22.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05276/0.8286, allocations: 19.85 MB / 0.9075 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8286, allocations: 3.938 kB / 0.9075 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.542e-05/0.8287, allocations: 28.09 kB / 0.9075 GB, free: 20.61 MB / 0.5417 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.002314/0.831, allocations: 1.245 MB / 0.9087 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.8311, allocations: 10.75 kB / 0.9087 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/0.8313, allocations: 114.3 kB / 0.9089 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.8315, allocations: 126.4 kB / 0.909 GB, free: 19.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.8327, allocations: 0.7315 MB / 0.9097 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.5e-05/0.8328, allocations: 82.67 kB / 0.9098 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.8329, allocations: 73.89 kB / 0.9098 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.8343, allocations: 0.7786 MB / 0.9106 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.8343, allocations: 0 / 0.9106 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.8344, allocations: 33.77 kB / 0.9106 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.8344, allocations: 15.12 kB / 0.9106 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.8356, allocations: 0.5623 MB / 0.9112 GB, free: 19.18 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.8389, allocations: 2.357 MB / 0.9135 GB, free: 18.33 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.8403, allocations: 0.6927 MB / 0.9142 GB, free: 18.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.8404, allocations: 11.27 kB / 0.9142 GB, free: 18.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006702/0.8411, allocations: 352 kB / 0.9145 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 2.374e-06/0.8411, allocations: 0 / 0.9145 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=60): time 0.001648/0.8428, allocations: 0.8314 MB / 0.9153 GB, free: 18.11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.8428, allocations: 137.9 kB / 0.9155 GB, free: 17.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008469/0.8437, allocations: 0.6582 MB / 0.9161 GB, free: 17.83 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.8438, allocations: 38.39 kB / 0.9161 GB, free: 17.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.8442, allocations: 441.1 kB / 0.9166 GB, free: 17.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.8443, allocations: 208.7 kB / 0.9168 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.8443, allocations: 14.56 kB / 0.9168 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.8444, allocations: 329.1 kB / 0.9171 GB, free: 17.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.8448, allocations: 224.8 kB / 0.9173 GB, free: 17.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.8453, allocations: 344.1 kB / 0.9176 GB, free: 17.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.8458, allocations: 260.9 kB / 0.9179 GB, free: 17.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8458, allocations: 0 / 0.9179 GB, free: 17.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00109/0.8469, allocations: 0.6924 MB / 0.9186 GB, free: 16.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.8471, allocations: 0.874 MB / 0.9194 GB, free: 16.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.8471, allocations: 7.781 kB / 0.9194 GB, free: 16.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.8471, allocations: 7.781 kB / 0.9194 GB, free: 16.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/0.8479, allocations: 162.3 kB / 0.9196 GB, free: 16.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.848, allocations: 3.906 kB / 0.9196 GB, free: 16.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.8485, allocations: 92.55 kB / 0.9197 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.8485, allocations: 22.59 kB / 0.9197 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.8486, allocations: 3.938 kB / 0.9197 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009054/0.8495, allocations: 0.5544 MB / 0.9202 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8495, allocations: 3.812 kB / 0.9202 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.8495, allocations: 3.875 kB / 0.9202 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.8502, allocations: 156.8 kB / 0.9204 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8502, allocations: 3.844 kB / 0.9204 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.8507, allocations: 80.12 kB / 0.9205 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.8507, allocations: 19.03 kB / 0.9205 GB, free: 15.91 MB / 0.5417 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.0003338/0.8511, allocations: 303.4 kB / 0.9208 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.8512, allocations: 100.2 kB / 0.9209 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.8514, allocations: 98.95 kB / 0.921 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.8514, allocations: 3.875 kB / 0.921 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.8514, allocations: 3.875 kB / 0.921 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8514, allocations: 2.766 kB / 0.921 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.8534, allocations: 1.534 MB / 0.9225 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.8534, allocations: 0 / 0.9225 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.854, allocations: 114 kB / 0.9226 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.854, allocations: 3.516 kB / 0.9226 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.8541, allocations: 11.16 kB / 0.9226 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.8541, allocations: 7.875 kB / 0.9226 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8541, allocations: 0 / 0.9226 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.8556, allocations: 1.039 MB / 0.9236 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.8558, allocations: 235.8 kB / 0.9239 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.856, allocations: 10.34 kB / 0.9239 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/0.8565, allocations: 56.12 kB / 0.9239 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.8566, allocations: 33.91 kB / 0.924 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.8566, allocations: 17.83 kB / 0.924 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005655/0.8572, allocations: 0.5173 MB / 0.9245 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8572, allocations: 0 / 0.9245 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008058/0.858, allocations: 280.7 kB / 0.9247 GB, free: 14.78 MB / 0.5417 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.002452/0.8605, allocations: 1.614 MB / 0.9263 GB, free: 30.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.8621, allocations: 0.873 MB / 0.9272 GB, free: 29.98 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.8621, allocations: 3.875 kB / 0.9272 GB, free: 29.98 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.8625, allocations: 292.2 kB / 0.9275 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009715/0.8635, allocations: 226.9 kB / 0.9277 GB, free: 29.94 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.8675, allocations: 3.633 MB / 0.9312 GB, free: 27.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.8682, allocations: 1.015 MB / 0.9322 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005837/0.8688, allocations: 119.6 kB / 0.9323 GB, free: 26.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/0.8692, allocations: 357.4 kB / 0.9327 GB, free: 26.57 MB / 0.5573 GB Notification: Performance of SimCode: time 5.861e-06/0.8692, allocations: 0 / 0.9327 GB, free: 26.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.8987, allocations: 16.66 MB / 0.9489 GB, free: 20.37 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.8989, allocations: 198.8 kB / 0.9491 GB, free: 20.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.275, allocations: 2.672 kB / 0.9491 GB, free: 20.12 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)