Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.834/2.834, allocations: 287.3 MB / 302.3 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002298/0.002298, allocations: 184.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 86.86 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.00049, allocations: 11.56 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2585, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9447/1.203, allocations: 142.7 MB / 1.118 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/1.204, allocations: 97.12 kB / 1.118 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09198/1.296, allocations: 24.55 MB / 1.142 GB, free: 24.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.156e-06/1.296, allocations: 0 / 1.142 GB, free: 24.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001136/1.296, allocations: 27.12 kB / 1.142 GB, free: 24.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.004726/1.301, allocations: 1.563 MB / 1.143 GB, free: 23.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.301, allocations: 11.7 kB / 1.143 GB, free: 23.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005172/1.301, allocations: 176.4 kB / 1.143 GB, free: 23.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/1.302, allocations: 163 kB / 1.144 GB, free: 23.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/1.304, allocations: 0.7864 MB / 1.144 GB, free: 23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/1.304, allocations: 86.42 kB / 1.144 GB, free: 23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/1.304, allocations: 118.7 kB / 1.145 GB, free: 23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/1.307, allocations: 1.112 MB / 1.146 GB, free: 22.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/1.307, allocations: 0 / 1.146 GB, free: 22.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/1.307, allocations: 45.78 kB / 1.146 GB, free: 22.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/1.307, allocations: 26.25 kB / 1.146 GB, free: 22.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/1.311, allocations: 0.8868 MB / 1.147 GB, free: 22.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/1.322, allocations: 3.776 MB / 1.15 GB, free: 20.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005593/1.328, allocations: 1.112 MB / 1.151 GB, free: 20.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/1.328, allocations: 15.89 kB / 1.151 GB, free: 20.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/1.33, allocations: 481.1 kB / 1.152 GB, free: 20.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=92): time 5.791e-06/1.33, allocations: 0 / 1.152 GB, free: 20.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=92): time 0.005533/1.336, allocations: 1.164 MB / 1.153 GB, free: 19.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/1.336, allocations: 225.5 kB / 1.153 GB, free: 19.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/1.338, allocations: 0.8244 MB / 1.154 GB, free: 19.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003798/1.339, allocations: 54 kB / 1.154 GB, free: 19.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007772/1.34, allocations: 0.5462 MB / 1.155 GB, free: 19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000441/1.34, allocations: 307.6 kB / 1.155 GB, free: 18.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/1.34, allocations: 18.72 kB / 1.155 GB, free: 18.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002059/1.34, allocations: 335.3 kB / 1.155 GB, free: 18.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/1.342, allocations: 354.7 kB / 1.156 GB, free: 18.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/1.344, allocations: 0.5196 MB / 1.156 GB, free: 18.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002072/1.346, allocations: 430.8 kB / 1.156 GB, free: 18.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.346, allocations: 0 / 1.156 GB, free: 18.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005/1.351, allocations: 1.051 MB / 1.157 GB, free: 17.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004541/1.352, allocations: 0.6538 MB / 1.158 GB, free: 17.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.352, allocations: 3.875 kB / 1.158 GB, free: 17.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.433e-05/1.352, allocations: 3.875 kB / 1.158 GB, free: 17.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/1.354, allocations: 209 kB / 1.158 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/1.354, allocations: 3.812 kB / 1.158 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.356, allocations: 189.2 kB / 1.159 GB, free: 17.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/1.356, allocations: 38.08 kB / 1.159 GB, free: 17.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.356, allocations: 7.797 kB / 1.159 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002741/1.359, allocations: 0.7465 MB / 1.159 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/1.359, allocations: 3.938 kB / 1.159 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.359, allocations: 8 kB / 1.159 GB, free: 16.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.361, allocations: 151.2 kB / 1.159 GB, free: 16.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/1.361, allocations: 11.94 kB / 1.159 GB, free: 16.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.363, allocations: 153.2 kB / 1.16 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/1.363, allocations: 27.31 kB / 1.16 GB, free: 16.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.001179/1.364, allocations: 335.5 kB / 1.16 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/1.364, allocations: 126.4 kB / 1.16 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/1.365, allocations: 131 kB / 1.16 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/1.365, allocations: 11.94 kB / 1.16 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.365, allocations: 0 / 1.16 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/1.365, allocations: 3.984 kB / 1.16 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/1.371, allocations: 1.947 MB / 1.162 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/1.371, allocations: 0 / 1.162 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/1.373, allocations: 186.5 kB / 1.162 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/1.373, allocations: 4 kB / 1.162 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.373, allocations: 14.19 kB / 1.162 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.231e-05/1.373, allocations: 4 kB / 1.162 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.373, allocations: 0 / 1.162 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/1.379, allocations: 1.417 MB / 1.164 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/1.38, allocations: 208.7 kB / 1.164 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/1.38, allocations: 21.42 kB / 1.164 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.381, allocations: 76.2 kB / 1.164 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.382, allocations: 51.86 kB / 1.164 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.382, allocations: 27.42 kB / 1.164 GB, free: 12.99 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001878/1.384, allocations: 0.6432 MB / 1.165 GB, free: 12.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.31e-07/1.384, allocations: 0 / 1.165 GB, free: 12.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00248/1.386, allocations: 406.2 kB / 1.165 GB, free: 12.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * 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.007332/1.394, allocations: 2.009 MB / 1.167 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005627/1.399, allocations: 1.365 MB / 1.168 GB, free: 9.473 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.399, allocations: 4 kB / 1.168 GB, free: 9.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/1.401, allocations: 424.7 kB / 1.169 GB, free: 9.156 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/1.404, allocations: 235.6 kB / 1.169 GB, free: 8.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.416, allocations: 4.506 MB / 1.173 GB, free: 4.492 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/1.417, allocations: 1.129 MB / 1.175 GB, free: 3.328 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001601/1.419, allocations: 136.6 kB / 1.175 GB, free: 3.191 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/1.421, allocations: 0.4884 MB / 1.175 GB, free: 3.07 MB / 0.698 GB Notification: Performance of SimCode: time 2.134e-06/1.421, allocations: 0 / 1.175 GB, free: 3.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09134/1.512, allocations: 21.13 MB / 1.196 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/1.512, allocations: 193.7 kB / 1.196 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.388/4.9, allocations: 4.062 kB / 1.196 GB, free: 14.01 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)