Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.615/1.615, allocations: 285.4 MB / 298 MB, free: 5.961 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.001125/0.001125, allocations: 180.9 kB / 366.4 MB, free: 2.07 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.65/1.65, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0008289/0.0008289, allocations: 95.58 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.096e-05/5.107e-05, allocations: 0 / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.6653, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.8672, allocations: 146.5 MB / 1.114 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003872/0.8677, allocations: 75.95 kB / 1.114 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05572/0.9234, allocations: 19.86 MB / 1.133 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9235, allocations: 0 / 1.133 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.203e-05/0.9236, allocations: 28.12 kB / 1.134 GB, free: 1.422 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001947/0.9255, allocations: 1.077 MB / 1.135 GB, free: 304 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.9256, allocations: 8.031 kB / 1.135 GB, free: 296 kB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.9257, allocations: 118.5 kB / 1.135 GB, free: 168 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.926, allocations: 126.5 kB / 1.135 GB, free: 40 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.9274, allocations: 0.7308 MB / 1.136 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.946e-05/0.9275, allocations: 83.7 kB / 1.136 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.9276, allocations: 67.91 kB / 1.136 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.9289, allocations: 0.7199 MB / 1.136 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.9289, allocations: 0 / 1.136 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/0.929, allocations: 31.95 kB / 1.136 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.929, allocations: 23.94 kB / 1.136 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/0.9299, allocations: 497.1 kB / 1.137 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003697/0.9336, allocations: 2.353 MB / 1.139 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.9348, allocations: 0.5951 MB / 1.14 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.9352, allocations: 218.5 kB / 1.14 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.9353, allocations: 12.55 kB / 1.14 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005565/0.9358, allocations: 303.2 kB / 1.14 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 4.268e-06/0.9359, allocations: 0 / 1.14 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.001048/0.9369, allocations: 0.5217 MB / 1.141 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.937, allocations: 145.1 kB / 1.141 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008569/0.9379, allocations: 0.646 MB / 1.142 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.938, allocations: 41.69 kB / 1.142 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.9383, allocations: 432.5 kB / 1.142 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.9385, allocations: 209 kB / 1.142 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.9386, allocations: 16 kB / 1.142 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.9387, allocations: 326 kB / 1.143 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.9391, allocations: 185.5 kB / 1.143 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.9395, allocations: 295.5 kB / 1.143 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/0.9399, allocations: 222 kB / 1.143 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9399, allocations: 0 / 1.143 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001073/0.941, allocations: 0.6129 MB / 1.144 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004534/0.9414, allocations: 0.8791 MB / 1.145 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.9415, allocations: 1.172 kB / 1.145 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.9415, allocations: 8 kB / 1.145 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.9424, allocations: 155.8 kB / 1.145 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.9425, allocations: 11.89 kB / 1.145 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005909/0.9431, allocations: 91.33 kB / 1.145 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.9431, allocations: 24 kB / 1.145 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.9432, allocations: 4 kB / 1.145 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008276/0.944, allocations: 0.4934 MB / 1.145 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.944, allocations: 7.938 kB / 1.145 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.944, allocations: 4 kB / 1.145 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/0.9448, allocations: 155.8 kB / 1.146 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.9448, allocations: 7.938 kB / 1.146 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.9454, allocations: 79.59 kB / 1.146 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.9455, allocations: 20 kB / 1.146 GB, free: 4.504 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.0001909/0.9457, allocations: 136.9 kB / 1.146 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.9458, allocations: 94.83 kB / 1.146 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.9461, allocations: 104.3 kB / 1.146 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.9462, allocations: 11.98 kB / 1.146 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.9462, allocations: 4 kB / 1.146 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.9462, allocations: 0 / 1.146 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.9485, allocations: 1.443 MB / 1.147 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.9485, allocations: 0 / 1.147 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/0.9492, allocations: 111.9 kB / 1.148 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.9492, allocations: 4 kB / 1.148 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.9493, allocations: 19.98 kB / 1.148 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.9493, allocations: 0 / 1.148 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9493, allocations: 5.219 kB / 1.148 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.9508, allocations: 0.9123 MB / 1.148 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.9512, allocations: 239.7 kB / 1.149 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.9513, allocations: 8 kB / 1.149 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.9518, allocations: 55.95 kB / 1.149 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.9519, allocations: 36.5 kB / 1.149 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.9519, allocations: 16 kB / 1.149 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007371/0.9527, allocations: 0.515 MB / 1.149 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9527, allocations: 4 kB / 1.149 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009061/0.9536, allocations: 279.1 kB / 1.15 GB, free: 416 kB / 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.001804/0.9554, allocations: 1.485 MB / 1.151 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.9569, allocations: 0.7858 MB / 1.152 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9569, allocations: 3.828 kB / 1.152 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.9573, allocations: 255.2 kB / 1.152 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.9584, allocations: 224.3 kB / 1.152 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.9612, allocations: 1.329 MB / 1.154 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.9617, allocations: 1.015 MB / 1.155 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0007964/0.9625, allocations: 177.7 kB / 1.155 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.963, allocations: 339.3 kB / 1.155 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of SimCode: time 9.41e-07/0.963, allocations: 0 / 1.155 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/1.001, allocations: 18.48 MB / 1.173 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/1.001, allocations: 158.4 kB / 1.173 GB, free: 8.375 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.489, allocations: 0 / 1.173 GB, free: 8.375 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)