Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.418/1.418, allocations: 249.5 MB / 257 MB, free: 6.984 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.0009724/0.0009723, allocations: 180.9 kB / 316.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009039/0.0009036, allocations: 92.5 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.606e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1912, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6789/0.8702, allocations: 134.2 MB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.8704, allocations: 74.27 kB / 1.016 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01942/0.8899, allocations: 7.974 MB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8899, allocations: 0 / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.645e-05/0.89, allocations: 8 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001157/0.8911, allocations: 0.6517 MB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.8912, allocations: 15.97 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.8914, allocations: 51.34 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.8921, allocations: 371.9 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.8922, allocations: 12 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.8923, allocations: 27.25 kB / 1.025 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004491/0.8927, allocations: 224.4 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.8933, allocations: 337.2 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.8933, allocations: 0 / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.8933, allocations: 0 / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.8933, allocations: 8 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.8955, allocations: 1.537 MB / 1.027 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.8962, allocations: 271.5 kB / 1.028 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.8964, allocations: 118.7 kB / 1.028 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.8965, allocations: 8 kB / 1.028 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.8965, allocations: 37.94 kB / 1.028 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 3.566e-06/0.8965, allocations: 0 / 1.028 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0004917/0.897, allocations: 217.5 kB / 1.028 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.8971, allocations: 110.3 kB / 1.028 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.8975, allocations: 276.4 kB / 1.028 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.8975, allocations: 25.7 kB / 1.028 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.8978, allocations: 257.7 kB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.051e-05/0.8978, allocations: 84.91 kB / 1.029 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.8979, allocations: 0 / 1.029 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.898, allocations: 348.8 kB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.8982, allocations: 81.62 kB / 1.029 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.8984, allocations: 167.6 kB / 1.029 GB, free: 7.973 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.8986, allocations: 92.23 kB / 1.029 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8986, allocations: 0 / 1.029 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004586/0.8991, allocations: 278 kB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/0.8994, allocations: 0.5274 MB / 1.03 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.8994, allocations: 4 kB / 1.03 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.8994, allocations: 4 kB / 1.03 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.8997, allocations: 75.14 kB / 1.03 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.8998, allocations: 8 kB / 1.03 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.9, allocations: 47.67 kB / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.9, allocations: 11.95 kB / 1.03 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.9, allocations: 4 kB / 1.03 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003444/0.9004, allocations: 196.8 kB / 1.031 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.9004, allocations: 0 / 1.031 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.9004, allocations: 11.94 kB / 1.031 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.9006, allocations: 55.55 kB / 1.031 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.9007, allocations: 8.125 kB / 1.031 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.9008, allocations: 23.83 kB / 1.031 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.9009, allocations: 11.98 kB / 1.031 GB, free: 6.77 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (limPI.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001447/0.901, allocations: 115.9 kB / 1.031 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003522/0.9014, allocations: 212.1 kB / 1.031 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.9014, allocations: 31.58 kB / 1.031 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.9016, allocations: 39.34 kB / 1.031 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9016, allocations: 4 kB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.9016, allocations: 4 kB / 1.031 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.9016, allocations: 0 / 1.031 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.9028, allocations: 0.7735 MB / 1.032 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.9028, allocations: 0 / 1.032 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.9031, allocations: 59.34 kB / 1.032 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.9031, allocations: 4 kB / 1.032 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.9031, allocations: 4 kB / 1.032 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.9031, allocations: 4 kB / 1.032 GB, free: 5.676 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.9032, allocations: 4.281 kB / 1.032 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.9039, allocations: 0.5837 MB / 1.032 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.904, allocations: 124.2 kB / 1.033 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.9041, allocations: 4 kB / 1.033 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.9043, allocations: 20.12 kB / 1.033 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.9043, allocations: 31.27 kB / 1.033 GB, free: 4.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.9044, allocations: 11.19 kB / 1.033 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002589/0.9046, allocations: 224.5 kB / 1.033 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9046, allocations: 3.938 kB / 1.033 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005476/0.9052, allocations: 123.4 kB / 1.033 GB, free: 4.617 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.001483/0.9067, allocations: 1.748 MB / 1.035 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005653/0.9073, allocations: 336.2 kB / 1.035 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.9073, allocations: 0 / 1.035 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.9074, allocations: 98.89 kB / 1.035 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.908, allocations: 86.27 kB / 1.035 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.9094, allocations: 0.6185 MB / 1.036 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.9098, allocations: 0.8233 MB / 1.037 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.9101, allocations: 59.23 kB / 1.037 GB, free: 1.012 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.9102, allocations: 141.1 kB / 1.037 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of SimCode: time 5.71e-07/0.9102, allocations: 0 / 1.037 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.9371, allocations: 6.652 MB / 1.043 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.9373, allocations: 176.2 kB / 1.043 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.819, allocations: 0 / 1.043 GB, free: 10.19 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)