Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 103.7 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.031e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2386, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7695/1.008, allocations: 140.2 MB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.009, allocations: 85.06 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05473/1.063, allocations: 19.87 MB / 1.048 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.684e-06/1.063, allocations: 4 kB / 1.048 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001084/1.063, allocations: 28.12 kB / 1.048 GB, free: 9.938 MB / 0.6667 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.002089/1.066, allocations: 1.079 MB / 1.049 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.066, allocations: 16.03 kB / 1.049 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/1.066, allocations: 108.2 kB / 1.049 GB, free: 8.781 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/1.066, allocations: 122.5 kB / 1.05 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/1.067, allocations: 0.7228 MB / 1.05 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.844e-05/1.067, allocations: 91.31 kB / 1.05 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/1.067, allocations: 64.25 kB / 1.05 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.069, allocations: 0.7241 MB / 1.051 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.069, allocations: 4 kB / 1.051 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/1.069, allocations: 28.12 kB / 1.051 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/1.069, allocations: 16 kB / 1.051 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/1.07, allocations: 496 kB / 1.052 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/1.074, allocations: 2.354 MB / 1.054 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.075, allocations: 0.5937 MB / 1.055 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/1.076, allocations: 219.2 kB / 1.055 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/1.076, allocations: 8.516 kB / 1.055 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/1.076, allocations: 302.7 kB / 1.055 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 3.136e-06/1.076, allocations: 11.94 kB / 1.055 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.0009829/1.077, allocations: 0.5199 MB / 1.056 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/1.077, allocations: 137.1 kB / 1.056 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/1.078, allocations: 0.6489 MB / 1.056 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/1.078, allocations: 37.33 kB / 1.056 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/1.078, allocations: 445.2 kB / 1.057 GB, free: 3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/1.079, allocations: 206 kB / 1.057 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/1.079, allocations: 10.44 kB / 1.057 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.079, allocations: 329.3 kB / 1.057 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002927/1.079, allocations: 188.1 kB / 1.057 GB, free: 2.395 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/1.079, allocations: 294.5 kB / 1.058 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/1.08, allocations: 206.9 kB / 1.058 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.08, allocations: 0 / 1.058 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001006/1.081, allocations: 0.6211 MB / 1.059 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003208/1.081, allocations: 0.8748 MB / 1.059 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.081, allocations: 4 kB / 1.059 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/1.081, allocations: 4 kB / 1.059 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/1.082, allocations: 162.4 kB / 1.06 GB, free: 492 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.082, allocations: 11.94 kB / 1.06 GB, free: 480 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/1.083, allocations: 90.7 kB / 1.06 GB, free: 396 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/1.083, allocations: 23.38 kB / 1.06 GB, free: 380 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/1.083, allocations: 9.344 kB / 1.06 GB, free: 372 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008619/1.084, allocations: 0.4919 MB / 1.06 GB, free: 40 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/1.084, allocations: 4 kB / 1.06 GB, free: 36 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/1.084, allocations: 4 kB / 1.06 GB, free: 32 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/1.084, allocations: 151 kB / 1.06 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.084, allocations: 16.17 kB / 1.06 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/1.085, allocations: 73.06 kB / 1.06 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/1.085, allocations: 23.88 kB / 1.06 GB, free: 15.79 MB / 0.6823 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.0001713/1.085, allocations: 139.2 kB / 1.061 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.085, allocations: 94.78 kB / 1.061 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/1.085, allocations: 112.1 kB / 1.061 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/1.085, allocations: 4 kB / 1.061 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/1.086, allocations: 0 / 1.061 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.086, allocations: 7.922 kB / 1.061 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/1.087, allocations: 1.443 MB / 1.062 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/1.087, allocations: 4 kB / 1.062 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/1.088, allocations: 111.3 kB / 1.062 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.088, allocations: 0 / 1.062 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/1.088, allocations: 16.36 kB / 1.062 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.088, allocations: 4 kB / 1.062 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.088, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/1.089, allocations: 0.9229 MB / 1.063 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/1.09, allocations: 230.8 kB / 1.063 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.004e-05/1.09, allocations: 16.5 kB / 1.063 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/1.09, allocations: 47.2 kB / 1.063 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/1.09, allocations: 39.44 kB / 1.064 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/1.091, allocations: 15.44 kB / 1.064 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000708/1.091, allocations: 0.5108 MB / 1.064 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/1.091, allocations: 0 / 1.064 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009533/1.092, allocations: 293.4 kB / 1.064 GB, free: 12.68 MB / 0.6823 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.001666/1.094, allocations: 1.48 MB / 1.066 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00144/1.095, allocations: 0.7937 MB / 1.067 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.095, allocations: 0 / 1.067 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/1.096, allocations: 248.2 kB / 1.067 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/1.097, allocations: 230.5 kB / 1.067 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/1.1, allocations: 1.325 MB / 1.068 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/1.1, allocations: 1.015 MB / 1.069 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008776/1.101, allocations: 169.8 kB / 1.069 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/1.102, allocations: 345.4 kB / 1.07 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of SimCode: time 1.573e-06/1.102, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03957/1.141, allocations: 18.47 MB / 1.088 GB, free: 5.816 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/1.142, allocations: 170.4 kB / 1.088 GB, free: 5.586 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.695, allocations: 3.156 kB / 1.088 GB, free: 5.586 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Validation_LimPIDReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)