Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001184/0.001184, allocations: 180.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008385/0.0008387, allocations: 92.05 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.286e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9104/0.9105, allocations: 116.3 MB / 0.9734 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/1.127, allocations: 143.1 MB / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/1.128, allocations: 97.08 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06355/1.191, allocations: 24.34 MB / 1.137 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.894e-06/1.191, allocations: 0 / 1.137 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.709e-05/1.192, allocations: 36 kB / 1.137 GB, free: 14.63 MB / 0.7448 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.002385/1.194, allocations: 1.356 MB / 1.138 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.194, allocations: 8.031 kB / 1.138 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/1.194, allocations: 162 kB / 1.138 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/1.196, allocations: 0.7814 MB / 1.139 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/1.196, allocations: 36 kB / 1.139 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.196, allocations: 71.98 kB / 1.139 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001268/1.197, allocations: 0.6526 MB / 1.14 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/1.199, allocations: 0.8581 MB / 1.141 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/1.199, allocations: 0 / 1.141 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/1.199, allocations: 4 kB / 1.141 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/1.199, allocations: 32 kB / 1.141 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005169/1.204, allocations: 3.532 MB / 1.144 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/1.206, allocations: 0.8252 MB / 1.145 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/1.206, allocations: 355.2 kB / 1.145 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/1.206, allocations: 12.77 kB / 1.145 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006217/1.207, allocations: 365.6 kB / 1.146 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 4.058e-06/1.207, allocations: 0 / 1.146 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.001202/1.208, allocations: 0.636 MB / 1.146 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/1.208, allocations: 218.4 kB / 1.147 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/1.209, allocations: 0.622 MB / 1.147 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/1.209, allocations: 29.7 kB / 1.147 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005186/1.21, allocations: 0.5624 MB / 1.148 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/1.21, allocations: 283.6 kB / 1.148 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/1.21, allocations: 4 kB / 1.148 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.21, allocations: 341.9 kB / 1.148 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/1.211, allocations: 246.6 kB / 1.149 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/1.211, allocations: 420.9 kB / 1.149 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/1.212, allocations: 310.7 kB / 1.149 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.212, allocations: 1.875 kB / 1.149 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001391/1.213, allocations: 0.8004 MB / 1.15 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003505/1.214, allocations: 0.6503 MB / 1.151 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.214, allocations: 4 kB / 1.151 GB, free: 32 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/1.214, allocations: 4 kB / 1.151 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/1.215, allocations: 203.7 kB / 1.151 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.215, allocations: 4 kB / 1.151 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007118/1.215, allocations: 159.2 kB / 1.151 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/1.215, allocations: 35.98 kB / 1.151 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/1.215, allocations: 4.938 kB / 1.151 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001146/1.217, allocations: 0.6281 MB / 1.152 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.217, allocations: 5 kB / 1.152 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.085e-06/1.217, allocations: 8.188 kB / 1.152 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/1.217, allocations: 159.8 kB / 1.152 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/1.217, allocations: 11.62 kB / 1.152 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005266/1.218, allocations: 107.4 kB / 1.152 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/1.218, allocations: 35.98 kB / 1.152 GB, free: 14.68 MB / 0.7605 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 () * 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.0001923/1.218, allocations: 130.4 kB / 1.152 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00098/1.219, allocations: 0.6197 MB / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.219, allocations: 102.7 kB / 1.153 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/1.219, allocations: 114.3 kB / 1.153 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/1.219, allocations: 12 kB / 1.153 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.219, allocations: 6.688 kB / 1.153 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/1.219, allocations: 3.984 kB / 1.153 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/1.222, allocations: 1.568 MB / 1.155 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.222, allocations: 4 kB / 1.155 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/1.222, allocations: 179.7 kB / 1.155 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/1.222, allocations: 4 kB / 1.155 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/1.222, allocations: 15.94 kB / 1.155 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.222, allocations: 4 kB / 1.155 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.222, allocations: 0 / 1.155 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/1.224, allocations: 1.082 MB / 1.156 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/1.224, allocations: 179.6 kB / 1.156 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/1.224, allocations: 8 kB / 1.156 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/1.225, allocations: 63.89 kB / 1.156 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.225, allocations: 52.7 kB / 1.156 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/1.225, allocations: 24 kB / 1.156 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006612/1.226, allocations: 475.1 kB / 1.157 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.3e-07/1.226, allocations: 4 kB / 1.157 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001049/1.227, allocations: 374.2 kB / 1.157 GB, free: 9.613 MB / 0.7605 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 () * 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.002165/1.229, allocations: 1.665 MB / 1.159 GB, free: 7.918 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001899/1.231, allocations: 1.157 MB / 1.16 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.231, allocations: 4 kB / 1.16 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004777/1.231, allocations: 314.8 kB / 1.16 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/1.232, allocations: 216.2 kB / 1.16 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/1.235, allocations: 1.579 MB / 1.162 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008426/1.236, allocations: 1.13 MB / 1.163 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007787/1.237, allocations: 172.9 kB / 1.163 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/1.238, allocations: 475.3 kB / 1.163 GB, free: 2.809 MB / 0.7605 GB Notification: Performance of SimCode: time 5.01e-07/1.238, allocations: 0 / 1.163 GB, free: 2.809 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/1.289, allocations: 20.24 MB / 1.183 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.289, allocations: 159.6 kB / 1.183 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.21, allocations: 4.031 kB / 1.183 GB, free: 14.67 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)