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 2.14/2.14, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001063/0.001063, allocations: 175.8 kB / 361.4 MB, free: 6.848 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.99/1.99, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0009168/0.0009169, allocations: 91.25 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.225e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9184/0.9185, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/1.244, allocations: 145.8 MB / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/1.244, allocations: 75.95 kB / 1.107 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0791/1.323, allocations: 19.71 MB / 1.126 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.425e-06/1.323, allocations: 3.938 kB / 1.126 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.686e-05/1.323, allocations: 28.12 kB / 1.126 GB, free: 6.184 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.001994/1.325, allocations: 1.083 MB / 1.127 GB, free: 5.055 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.325, allocations: 8.031 kB / 1.127 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/1.326, allocations: 126.5 kB / 1.127 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/1.327, allocations: 0.7269 MB / 1.128 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.327, allocations: 63.7 kB / 1.128 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/1.327, allocations: 47.89 kB / 1.128 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008731/1.328, allocations: 448 kB / 1.129 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/1.329, allocations: 0.6183 MB / 1.129 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.329, allocations: 3 kB / 1.129 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.3e-05/1.33, allocations: 7.953 kB / 1.129 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/1.33, allocations: 16 kB / 1.129 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/1.333, allocations: 2.215 MB / 1.131 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/1.334, allocations: 0.5647 MB / 1.132 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/1.335, allocations: 202.6 kB / 1.132 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.555e-05/1.335, allocations: 16.45 kB / 1.132 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/1.335, allocations: 275.8 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=60): time 4.208e-06/1.336, allocations: 4 kB / 1.132 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60): time 0.0009368/1.336, allocations: 0.4946 MB / 1.133 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.337, allocations: 141.1 kB / 1.133 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/1.337, allocations: 0.5553 MB / 1.134 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/1.337, allocations: 25.7 kB / 1.134 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/1.338, allocations: 444.2 kB / 1.134 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/1.338, allocations: 193 kB / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/1.338, allocations: 0 / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.338, allocations: 334 kB / 1.135 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/1.339, allocations: 169.6 kB / 1.135 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/1.339, allocations: 279.1 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/1.339, allocations: 206 kB / 1.135 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.339, allocations: 0 / 1.135 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009374/1.34, allocations: 0.5565 MB / 1.136 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000432/1.341, allocations: 0.8793 MB / 1.137 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/1.341, allocations: 4 kB / 1.137 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.341, allocations: 7.984 kB / 1.137 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/1.342, allocations: 167.8 kB / 1.137 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/1.342, allocations: 9.406 kB / 1.137 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/1.342, allocations: 61.94 kB / 1.137 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/1.342, allocations: 23.98 kB / 1.137 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.342, allocations: 5.25 kB / 1.137 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007628/1.343, allocations: 445.2 kB / 1.137 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.343, allocations: 7.953 kB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.343, allocations: 4.844 kB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/1.344, allocations: 151.8 kB / 1.137 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.344, allocations: 4 kB / 1.137 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/1.345, allocations: 63.75 kB / 1.137 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/1.345, allocations: 24 kB / 1.137 GB, free: 10.19 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.0002008/1.345, allocations: 117.3 kB / 1.138 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008788/1.346, allocations: 494.4 kB / 1.138 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.346, allocations: 90.92 kB / 1.138 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/1.346, allocations: 92.88 kB / 1.138 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.346, allocations: 10.91 kB / 1.138 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.346, allocations: 0 / 1.138 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/1.346, allocations: 3.984 kB / 1.138 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/1.348, allocations: 1.318 MB / 1.14 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/1.348, allocations: 4 kB / 1.14 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/1.349, allocations: 111.9 kB / 1.14 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/1.349, allocations: 0 / 1.14 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/1.349, allocations: 14.48 kB / 1.14 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.349, allocations: 4 kB / 1.14 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.349, allocations: 0 / 1.14 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/1.35, allocations: 0.8616 MB / 1.141 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/1.351, allocations: 235.7 kB / 1.141 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.189e-05/1.351, allocations: 0 / 1.141 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/1.351, allocations: 39.95 kB / 1.141 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/1.352, allocations: 36.52 kB / 1.141 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/1.352, allocations: 23.98 kB / 1.141 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005822/1.352, allocations: 439.1 kB / 1.141 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.352, allocations: 0 / 1.141 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009452/1.353, allocations: 266.8 kB / 1.142 GB, free: 5.98 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.001754/1.355, allocations: 1.423 MB / 1.143 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001395/1.356, allocations: 0.7389 MB / 1.144 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.356, allocations: 3.938 kB / 1.144 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/1.357, allocations: 234.1 kB / 1.144 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.358, allocations: 218.8 kB / 1.144 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/1.361, allocations: 1.264 MB / 1.145 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/1.362, allocations: 1.018 MB / 1.146 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008493/1.362, allocations: 164.8 kB / 1.146 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004891/1.363, allocations: 347.3 kB / 1.147 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/1.363, allocations: 0 / 1.147 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05501/1.418, allocations: 16.79 MB / 1.163 GB, free: 20 kB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00041/1.418, allocations: 157.8 kB / 1.163 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/5.268, allocations: 1.969 kB / 1.163 GB, free: 15.82 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)