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.53/2.53, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001514/0.001514, allocations: 172.9 kB / 360.6 MB, free: 7.285 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.105/2.105, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001018/0.001018, allocations: 91.28 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.392e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8406/0.8406, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/1.089, allocations: 141.9 MB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/1.089, allocations: 91.14 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1046/1.194, allocations: 24.34 MB / 1.126 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.315e-06/1.194, allocations: 0 / 1.126 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001406/1.194, allocations: 27.94 kB / 1.126 GB, free: 6.152 MB / 0.7292 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.004419/1.198, allocations: 1.364 MB / 1.127 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.198, allocations: 8.031 kB / 1.127 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007771/1.199, allocations: 167.2 kB / 1.127 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/1.202, allocations: 0.7775 MB / 1.128 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.421e-05/1.202, allocations: 36 kB / 1.128 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/1.202, allocations: 72 kB / 1.128 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002168/1.204, allocations: 0.6487 MB / 1.129 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/1.207, allocations: 0.8581 MB / 1.13 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/1.207, allocations: 3.984 kB / 1.13 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/1.207, allocations: 3.938 kB / 1.13 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/1.207, allocations: 28 kB / 1.13 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009057/1.216, allocations: 3.539 MB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/1.219, allocations: 0.8262 MB / 1.134 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009212/1.22, allocations: 351.2 kB / 1.134 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.149e-05/1.22, allocations: 12.78 kB / 1.134 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009737/1.221, allocations: 366.1 kB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 4.338e-06/1.221, allocations: 4 kB / 1.135 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.001973/1.223, allocations: 0.6322 MB / 1.135 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.223, allocations: 218.4 kB / 1.136 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.225, allocations: 0.6181 MB / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002423/1.225, allocations: 29.7 kB / 1.136 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007244/1.226, allocations: 0.5546 MB / 1.137 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/1.226, allocations: 295.6 kB / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/1.226, allocations: 0 / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001962/1.227, allocations: 341.9 kB / 1.137 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/1.227, allocations: 250.6 kB / 1.138 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/1.228, allocations: 429.9 kB / 1.138 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.229, allocations: 302.7 kB / 1.138 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.229, allocations: 4 kB / 1.138 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002731/1.232, allocations: 0.7925 MB / 1.139 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003955/1.233, allocations: 0.6582 MB / 1.14 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.233, allocations: 4 kB / 1.14 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/1.233, allocations: 6.438 kB / 1.14 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/1.234, allocations: 203.7 kB / 1.14 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/1.234, allocations: 4 kB / 1.14 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/1.236, allocations: 159.2 kB / 1.14 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/1.237, allocations: 31.98 kB / 1.14 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.237, allocations: 4 kB / 1.14 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/1.239, allocations: 0.6359 MB / 1.141 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.239, allocations: 0 / 1.141 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.239, allocations: 4 kB / 1.141 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.24, allocations: 163.7 kB / 1.141 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.24, allocations: 8 kB / 1.141 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.241, allocations: 107.6 kB / 1.141 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.242, allocations: 28 kB / 1.141 GB, free: 6.199 MB / 0.7448 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.0003433/1.242, allocations: 136.5 kB / 1.141 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001826/1.244, allocations: 0.6198 MB / 1.142 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/1.244, allocations: 114.6 kB / 1.142 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/1.244, allocations: 102.8 kB / 1.142 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.244, allocations: 8 kB / 1.142 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.609e-06/1.244, allocations: 1.812 kB / 1.142 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/1.244, allocations: 3.984 kB / 1.142 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/1.248, allocations: 1.576 MB / 1.144 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/1.248, allocations: 0 / 1.144 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.25, allocations: 179.8 kB / 1.144 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/1.25, allocations: 3.953 kB / 1.144 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/1.25, allocations: 7.984 kB / 1.144 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/1.25, allocations: 4 kB / 1.144 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.25, allocations: 1.688 kB / 1.144 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/1.253, allocations: 1.089 MB / 1.145 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/1.253, allocations: 183.6 kB / 1.145 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/1.253, allocations: 7.953 kB / 1.145 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009227/1.254, allocations: 61.75 kB / 1.145 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.255, allocations: 48.72 kB / 1.145 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/1.255, allocations: 23.98 kB / 1.145 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001125/1.256, allocations: 483.1 kB / 1.146 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.81e-07/1.256, allocations: 0 / 1.146 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001969/1.258, allocations: 374.2 kB / 1.146 GB, free: 1.121 MB / 0.7448 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.00351/1.261, allocations: 1.66 MB / 1.148 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00313/1.265, allocations: 1.161 MB / 1.149 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.265, allocations: 4.188 kB / 1.149 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0008432/1.265, allocations: 326.8 kB / 1.149 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/1.267, allocations: 203.7 kB / 1.149 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/1.272, allocations: 1.579 MB / 1.151 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.273, allocations: 1.13 MB / 1.152 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001304/1.274, allocations: 171.9 kB / 1.152 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.275, allocations: 467.3 kB / 1.152 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of SimCode: time 1.413e-06/1.275, allocations: 0 / 1.152 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08436/1.36, allocations: 20.24 MB / 1.172 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003484/1.36, allocations: 167.9 kB / 1.172 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/4.647, allocations: 4.719 kB / 1.172 GB, free: 6.23 MB / 0.7761 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)