Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset",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.748/1.748, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001579/0.001579, allocations: 185.2 kB / 371.6 MB, free: 3.383 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.686/1.686, 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.0009594/0.0009595, allocations: 90.17 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.136e-05/5.16e-05, allocations: 3.984 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2936, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7955/1.089, allocations: 147.4 MB / 1.124 GB, free: 38.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.089, allocations: 75.05 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05099/1.14, allocations: 19.87 MB / 1.143 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.024e-06/1.141, allocations: 0 / 1.143 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.717e-05/1.141, allocations: 28 kB / 1.143 GB, free: 27.94 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001933/1.143, allocations: 1.079 MB / 1.144 GB, free: 27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/1.143, allocations: 8.031 kB / 1.144 GB, free: 26.99 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/1.143, allocations: 112.4 kB / 1.145 GB, free: 26.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/1.143, allocations: 125.8 kB / 1.145 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.144, allocations: 0.7325 MB / 1.145 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-05/1.145, allocations: 80.92 kB / 1.145 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/1.145, allocations: 72.7 kB / 1.145 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/1.146, allocations: 0.723 MB / 1.146 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.146, allocations: 0 / 1.146 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/1.146, allocations: 32.7 kB / 1.146 GB, free: 25.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/1.146, allocations: 19.94 kB / 1.146 GB, free: 25.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/1.147, allocations: 486 kB / 1.147 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/1.15, allocations: 2.355 MB / 1.149 GB, free: 23.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/1.151, allocations: 0.5886 MB / 1.15 GB, free: 23.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/1.151, allocations: 222.5 kB / 1.15 GB, free: 23.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/1.152, allocations: 13.08 kB / 1.15 GB, free: 23.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005067/1.152, allocations: 304.3 kB / 1.15 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 2.204e-06/1.152, allocations: 0 / 1.15 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.0008449/1.153, allocations: 0.5207 MB / 1.151 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/1.153, allocations: 141.6 kB / 1.151 GB, free: 22.67 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/1.154, allocations: 0.6494 MB / 1.151 GB, free: 22.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.06e-05/1.154, allocations: 40.2 kB / 1.151 GB, free: 22.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/1.154, allocations: 438.9 kB / 1.152 GB, free: 21.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/1.154, allocations: 209.2 kB / 1.152 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/1.155, allocations: 14.22 kB / 1.152 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.155, allocations: 327.5 kB / 1.152 GB, free: 21.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/1.155, allocations: 181.8 kB / 1.153 GB, free: 21.38 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/1.156, allocations: 302 kB / 1.153 GB, free: 21.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/1.156, allocations: 209.3 kB / 1.153 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.156, allocations: 0 / 1.153 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001505/1.158, allocations: 0.6073 MB / 1.154 GB, free: 20.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002182/1.158, allocations: 0.8792 MB / 1.154 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.158, allocations: 0.7969 kB / 1.154 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/1.158, allocations: 8 kB / 1.154 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.16, allocations: 164.1 kB / 1.155 GB, free: 19.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/1.16, allocations: 10.06 kB / 1.155 GB, free: 19.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009406/1.161, allocations: 88.81 kB / 1.155 GB, free: 19.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/1.161, allocations: 23.86 kB / 1.155 GB, free: 19.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.161, allocations: 4.797 kB / 1.155 GB, free: 19.45 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/1.162, allocations: 0.4923 MB / 1.155 GB, free: 19.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.162, allocations: 7.938 kB / 1.155 GB, free: 19.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/1.162, allocations: 4 kB / 1.155 GB, free: 19.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.163, allocations: 159.2 kB / 1.155 GB, free: 19.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/1.163, allocations: 8.75 kB / 1.155 GB, free: 19.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/1.164, allocations: 73.56 kB / 1.155 GB, free: 18.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/1.164, allocations: 20.27 kB / 1.156 GB, free: 18.94 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0003186/1.164, allocations: 145 kB / 1.156 GB, free: 18.81 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/1.165, allocations: 99.53 kB / 1.156 GB, free: 18.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/1.165, allocations: 104.6 kB / 1.156 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.165, allocations: 8 kB / 1.156 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/1.165, allocations: 0 / 1.156 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.165, allocations: 3.703 kB / 1.156 GB, free: 18.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/1.168, allocations: 1.444 MB / 1.157 GB, free: 17.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.169, allocations: 0 / 1.157 GB, free: 17.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009575/1.169, allocations: 114.9 kB / 1.157 GB, free: 17.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/1.17, allocations: 4 kB / 1.157 GB, free: 17.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/1.17, allocations: 12.45 kB / 1.157 GB, free: 17.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.17, allocations: 0.6562 kB / 1.157 GB, free: 17.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.17, allocations: 4 kB / 1.157 GB, free: 17.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/1.172, allocations: 0.9182 MB / 1.158 GB, free: 17.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004494/1.172, allocations: 236 kB / 1.159 GB, free: 16.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/1.172, allocations: 10.75 kB / 1.159 GB, free: 16.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008467/1.173, allocations: 53.81 kB / 1.159 GB, free: 16.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.173, allocations: 33.42 kB / 1.159 GB, free: 16.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/1.173, allocations: 19.44 kB / 1.159 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009728/1.174, allocations: 0.5113 MB / 1.159 GB, free: 16.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.51e-07/1.174, allocations: 0 / 1.159 GB, free: 16.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001202/1.175, allocations: 284.1 kB / 1.159 GB, free: 16.25 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.002069/1.178, allocations: 1.492 MB / 1.161 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.18, allocations: 0.7904 MB / 1.162 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.18, allocations: 7.938 kB / 1.162 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/1.18, allocations: 252.4 kB / 1.162 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.182, allocations: 224.8 kB / 1.162 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/1.186, allocations: 1.318 MB / 1.163 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/1.186, allocations: 1.02 MB / 1.164 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001291/1.187, allocations: 172.8 kB / 1.165 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/1.188, allocations: 340.6 kB / 1.165 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/1.188, allocations: 4 kB / 1.165 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/1.238, allocations: 18.46 MB / 1.183 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/1.238, allocations: 162.6 kB / 1.183 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.781, allocations: 0 / 1.183 GB, free: 12.3 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_8_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)