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.671/1.671, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001104/0.001104, allocations: 181.6 kB / 371.6 MB, free: 3.391 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.536/1.536, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0008932/0.0008932, allocations: 88.16 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.909e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2786, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9257/1.204, allocations: 143.7 MB / 1.12 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/1.205, allocations: 91.47 kB / 1.12 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06235/1.267, allocations: 24.5 MB / 1.144 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.094e-06/1.267, allocations: 0 / 1.144 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001789/1.267, allocations: 35.94 kB / 1.144 GB, free: 29.08 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.003893/1.271, allocations: 1.358 MB / 1.146 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.271, allocations: 8.031 kB / 1.146 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005346/1.272, allocations: 165 kB / 1.146 GB, free: 27.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006326/1.272, allocations: 163.8 kB / 1.146 GB, free: 27.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/1.274, allocations: 0.7774 MB / 1.147 GB, free: 27.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/1.275, allocations: 90.25 kB / 1.147 GB, free: 27.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/1.275, allocations: 121.3 kB / 1.147 GB, free: 26.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/1.277, allocations: 1.018 MB / 1.148 GB, free: 26.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/1.277, allocations: 0 / 1.148 GB, free: 26.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/1.277, allocations: 50.98 kB / 1.148 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/1.277, allocations: 24 kB / 1.148 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/1.279, allocations: 0.711 MB / 1.149 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006491/1.285, allocations: 3.787 MB / 1.152 GB, free: 23.45 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/1.287, allocations: 0.8643 MB / 1.153 GB, free: 22.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005452/1.287, allocations: 378.2 kB / 1.154 GB, free: 22.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/1.287, allocations: 13.53 kB / 1.154 GB, free: 22.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006588/1.288, allocations: 403.4 kB / 1.154 GB, free: 22.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=92): time 3.887e-06/1.288, allocations: 0 / 1.154 GB, free: 22.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=92): time 0.001259/1.289, allocations: 0.6893 MB / 1.155 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/1.289, allocations: 219.5 kB / 1.155 GB, free: 21.7 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/1.291, allocations: 0.8118 MB / 1.156 GB, free: 21.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/1.291, allocations: 44.64 kB / 1.156 GB, free: 21.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/1.291, allocations: 0.5517 MB / 1.156 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/1.292, allocations: 308.9 kB / 1.157 GB, free: 20.6 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/1.292, allocations: 18.12 kB / 1.157 GB, free: 20.59 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/1.292, allocations: 335.2 kB / 1.157 GB, free: 20.28 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/1.292, allocations: 266.8 kB / 1.157 GB, free: 20.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/1.293, allocations: 452.3 kB / 1.158 GB, free: 19.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/1.293, allocations: 341.8 kB / 1.158 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.293, allocations: 0.5625 kB / 1.158 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001423/1.295, allocations: 0.8914 MB / 1.159 GB, free: 18.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002136/1.295, allocations: 0.6491 MB / 1.159 GB, free: 18.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.295, allocations: 4 kB / 1.159 GB, free: 18.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.295, allocations: 4 kB / 1.159 GB, free: 18.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/1.296, allocations: 204.5 kB / 1.16 GB, free: 18.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.296, allocations: 5.031 kB / 1.16 GB, free: 18.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008255/1.297, allocations: 178.4 kB / 1.16 GB, free: 17.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/1.297, allocations: 39.84 kB / 1.16 GB, free: 17.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/1.297, allocations: 7.953 kB / 1.16 GB, free: 17.92 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/1.298, allocations: 0.732 MB / 1.161 GB, free: 17.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.298, allocations: 4 kB / 1.161 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/1.298, allocations: 4 kB / 1.161 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/1.299, allocations: 157.4 kB / 1.161 GB, free: 17.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.299, allocations: 6.156 kB / 1.161 GB, free: 17.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/1.299, allocations: 150.6 kB / 1.161 GB, free: 17.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/1.299, allocations: 36.14 kB / 1.161 GB, free: 17.18 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.0002285/1.3, allocations: 160.8 kB / 1.161 GB, free: 17.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/1.3, allocations: 122.5 kB / 1.161 GB, free: 16.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/1.3, allocations: 123.8 kB / 1.161 GB, free: 16.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.3, allocations: 17.16 kB / 1.161 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/1.3, allocations: 0 / 1.161 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.3, allocations: 4.359 kB / 1.161 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/1.303, allocations: 1.778 MB / 1.163 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.303, allocations: 7.953 kB / 1.163 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007537/1.304, allocations: 175.2 kB / 1.163 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/1.304, allocations: 5.5 kB / 1.163 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.63e-05/1.304, allocations: 16.88 kB / 1.163 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.304, allocations: 8 kB / 1.163 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.304, allocations: 0 / 1.163 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/1.306, allocations: 1.169 MB / 1.164 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/1.306, allocations: 204.6 kB / 1.165 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.306, allocations: 19.7 kB / 1.165 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/1.306, allocations: 75.19 kB / 1.165 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.307, allocations: 53.91 kB / 1.165 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/1.307, allocations: 23.8 kB / 1.165 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009753/1.308, allocations: 0.6373 MB / 1.165 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.072e-06/1.308, allocations: 4 kB / 1.165 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001083/1.309, allocations: 409.3 kB / 1.166 GB, free: 13.83 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.001901/1.311, allocations: 1.762 MB / 1.167 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001885/1.313, allocations: 1.235 MB / 1.169 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.313, allocations: 0 / 1.169 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004438/1.313, allocations: 340.4 kB / 1.169 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/1.314, allocations: 237.8 kB / 1.169 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/1.317, allocations: 1.664 MB / 1.171 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005752/1.317, allocations: 1.132 MB / 1.172 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008157/1.318, allocations: 199.9 kB / 1.172 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/1.319, allocations: 482.6 kB / 1.173 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of SimCode: time 9.31e-07/1.319, allocations: 3.938 kB / 1.173 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04409/1.363, allocations: 23.08 MB / 1.195 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.363, allocations: 177 kB / 1.195 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.256/4.619, allocations: 0 / 1.195 GB, free: 2.18 MB / 0.7605 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)