Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.647/1.647, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001258/0.001258, allocations: 185 kB / 371.8 MB, free: 10.27 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.652/1.652, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001035/0.001035, allocations: 93.66 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004672, allocations: 10.84 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2528, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8088/1.062, allocations: 146.1 MB / 1.122 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.062, allocations: 87.36 kB / 1.122 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04407/1.106, allocations: 16.96 MB / 1.139 GB, free: 27.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.607e-06/1.106, allocations: 0 / 1.139 GB, free: 27.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001454/1.106, allocations: 19.44 kB / 1.139 GB, free: 27.27 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00297/1.109, allocations: 1.074 MB / 1.14 GB, free: 26.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.109, allocations: 11.67 kB / 1.14 GB, free: 26.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/1.11, allocations: 93.3 kB / 1.14 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/1.11, allocations: 100.4 kB / 1.14 GB, free: 26.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.111, allocations: 0.5842 MB / 1.141 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/1.111, allocations: 102 kB / 1.141 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/1.111, allocations: 54.84 kB / 1.141 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/1.113, allocations: 0.6537 MB / 1.141 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.113, allocations: 7.594 kB / 1.141 GB, free: 25.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/1.113, allocations: 22.22 kB / 1.141 GB, free: 25.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/1.113, allocations: 22.84 kB / 1.142 GB, free: 25.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000987/1.114, allocations: 496.8 kB / 1.142 GB, free: 25.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/1.117, allocations: 2.213 MB / 1.144 GB, free: 24.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/1.118, allocations: 0.5991 MB / 1.145 GB, free: 24.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/1.118, allocations: 3.844 kB / 1.145 GB, free: 24.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006876/1.119, allocations: 324.4 kB / 1.145 GB, free: 23.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 4.058e-06/1.119, allocations: 0 / 1.145 GB, free: 23.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001508/1.121, allocations: 0.7113 MB / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/1.121, allocations: 191.6 kB / 1.146 GB, free: 23.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/1.121, allocations: 0.5458 MB / 1.146 GB, free: 23.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/1.121, allocations: 37.05 kB / 1.146 GB, free: 23.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/1.122, allocations: 355.9 kB / 1.147 GB, free: 23.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/1.122, allocations: 166 kB / 1.147 GB, free: 22.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/1.122, allocations: 10.81 kB / 1.147 GB, free: 22.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.122, allocations: 329.3 kB / 1.147 GB, free: 22.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/1.122, allocations: 209.6 kB / 1.148 GB, free: 22.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/1.123, allocations: 343 kB / 1.148 GB, free: 22.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/1.123, allocations: 263.8 kB / 1.148 GB, free: 22.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.123, allocations: 0 / 1.148 GB, free: 22.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001207/1.125, allocations: 0.6666 MB / 1.149 GB, free: 22.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004673/1.125, allocations: 0.9886 MB / 1.15 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.125, allocations: 3.844 kB / 1.15 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.125, allocations: 7.656 kB / 1.15 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/1.126, allocations: 119.7 kB / 1.15 GB, free: 21.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.126, allocations: 11.62 kB / 1.15 GB, free: 21.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/1.126, allocations: 85.06 kB / 1.15 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/1.127, allocations: 23.3 kB / 1.15 GB, free: 21.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/1.127, allocations: 3.906 kB / 1.15 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/1.128, allocations: 0.5436 MB / 1.15 GB, free: 20.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.128, allocations: 3.875 kB / 1.15 GB, free: 20.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/1.128, allocations: 7.5 kB / 1.15 GB, free: 20.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/1.128, allocations: 129.9 kB / 1.151 GB, free: 20.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/1.128, allocations: 3.844 kB / 1.151 GB, free: 20.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/1.129, allocations: 72.62 kB / 1.151 GB, free: 20.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/1.129, allocations: 23.11 kB / 1.151 GB, free: 20.92 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0004226/1.129, allocations: 278.4 kB / 1.151 GB, free: 20.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.129, allocations: 73.53 kB / 1.151 GB, free: 20.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/1.129, allocations: 75.44 kB / 1.151 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.129, allocations: 11.64 kB / 1.151 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.129, allocations: 0 / 1.151 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.129, allocations: 3.984 kB / 1.151 GB, free: 20.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/1.13, allocations: 0.6464 MB / 1.152 GB, free: 20.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.13, allocations: 3.938 kB / 1.152 GB, free: 20.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/1.131, allocations: 99.91 kB / 1.152 GB, free: 20.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/1.131, allocations: 3.844 kB / 1.152 GB, free: 20.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/1.131, allocations: 10.91 kB / 1.152 GB, free: 20.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.131, allocations: 0 / 1.152 GB, free: 20.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.131, allocations: 7.938 kB / 1.152 GB, free: 20.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/1.132, allocations: 0.829 MB / 1.153 GB, free: 20.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/1.133, allocations: 206.8 kB / 1.153 GB, free: 19.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/1.133, allocations: 11.38 kB / 1.153 GB, free: 19.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/1.133, allocations: 60.98 kB / 1.153 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/1.133, allocations: 30.73 kB / 1.153 GB, free: 19.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/1.133, allocations: 23.09 kB / 1.153 GB, free: 19.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005241/1.134, allocations: 433 kB / 1.153 GB, free: 19.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.134, allocations: 0 / 1.153 GB, free: 19.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006693/1.135, allocations: 240.1 kB / 1.154 GB, free: 19.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001854/1.136, allocations: 1.395 MB / 1.155 GB, free: 18.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001538/1.138, allocations: 0.8855 MB / 1.156 GB, free: 18.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/1.138, allocations: 0 / 1.156 GB, free: 18.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004476/1.138, allocations: 253.3 kB / 1.156 GB, free: 18.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008353/1.139, allocations: 173 kB / 1.156 GB, free: 18.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/1.143, allocations: 3.323 MB / 1.16 GB, free: 15.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/1.143, allocations: 0.9377 MB / 1.16 GB, free: 14.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004865/1.144, allocations: 89.02 kB / 1.161 GB, free: 14.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/1.144, allocations: 265.7 kB / 1.161 GB, free: 14.29 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/1.144, allocations: 0 / 1.161 GB, free: 14.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/1.176, allocations: 13.73 MB / 1.174 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.176, allocations: 183.1 kB / 1.174 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.694, allocations: 0 / 1.174 GB, free: 0.5469 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)