Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID",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.476/1.476, allocations: 249.5 MB / 257 MB, free: 6.957 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.0009544/0.0009544, allocations: 180.9 kB / 316.3 MB, free: 3.234 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.483/1.483, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008277/0.0008277, allocations: 92.84 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.2e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2026, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6594/0.8621, allocations: 140.1 MB / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.8624, allocations: 88.12 kB / 1.022 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0475/0.9099, allocations: 16.81 MB / 1.039 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.213e-06/0.91, allocations: 0 / 1.039 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.487e-05/0.9101, allocations: 27.88 kB / 1.039 GB, free: 15.52 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00154/0.9116, allocations: 0.943 MB / 1.04 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.9117, allocations: 12.03 kB / 1.04 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.9118, allocations: 98.83 kB / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.9127, allocations: 0.587 MB / 1.04 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.9128, allocations: 88.7 kB / 1.04 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.9129, allocations: 35.91 kB / 1.04 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005791/0.9135, allocations: 334.7 kB / 1.041 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/0.9143, allocations: 0.5176 MB / 1.041 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.9143, allocations: 4 kB / 1.041 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.9144, allocations: 7.953 kB / 1.041 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.9144, allocations: 12 kB / 1.041 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.917, allocations: 2.1 MB / 1.043 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007368/0.9178, allocations: 438.3 kB / 1.044 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.918, allocations: 153 kB / 1.044 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.9181, allocations: 10.16 kB / 1.044 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.9185, allocations: 231.2 kB / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 2.264e-06/0.9185, allocations: 0 / 1.044 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.0006705/0.9192, allocations: 394.7 kB / 1.044 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.279e-05/0.9193, allocations: 187.9 kB / 1.045 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.9198, allocations: 478.5 kB / 1.045 GB, free: 9.891 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.9198, allocations: 25.7 kB / 1.045 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.9201, allocations: 373.8 kB / 1.045 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.9202, allocations: 147.1 kB / 1.046 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.9202, allocations: 0 / 1.046 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.9204, allocations: 378.7 kB / 1.046 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.9206, allocations: 146.5 kB / 1.046 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.921, allocations: 262.9 kB / 1.046 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.9212, allocations: 169.5 kB / 1.046 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9212, allocations: 0 / 1.046 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000712/0.922, allocations: 484.2 kB / 1.047 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004089/0.9224, allocations: 0.987 MB / 1.048 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.9224, allocations: 7.938 kB / 1.048 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.9224, allocations: 4 kB / 1.048 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.9229, allocations: 124.2 kB / 1.048 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.923, allocations: 11.94 kB / 1.048 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.9234, allocations: 67.64 kB / 1.048 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.9235, allocations: 15.31 kB / 1.048 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.126e-06/0.9235, allocations: 4 kB / 1.048 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005976/0.9241, allocations: 380.2 kB / 1.048 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9241, allocations: 8.25 kB / 1.048 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.9241, allocations: 8 kB / 1.048 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.9246, allocations: 115.6 kB / 1.049 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.9246, allocations: 7.953 kB / 1.049 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.925, allocations: 63.56 kB / 1.049 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.9251, allocations: 23.8 kB / 1.049 GB, free: 6.629 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001528/0.9252, allocations: 118.9 kB / 1.049 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005647/0.9258, allocations: 381.9 kB / 1.049 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.93e-05/0.9259, allocations: 71.14 kB / 1.049 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.9261, allocations: 77.27 kB / 1.049 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.9261, allocations: 4 kB / 1.049 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9261, allocations: 0 / 1.049 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.9261, allocations: 7.938 kB / 1.049 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.9267, allocations: 0.5744 MB / 1.05 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.9268, allocations: 4 kB / 1.05 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.9273, allocations: 99.38 kB / 1.05 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.9273, allocations: 0 / 1.05 GB, free: 5.535 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.9274, allocations: 6.812 kB / 1.05 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.9274, allocations: 3.984 kB / 1.05 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9274, allocations: 11.89 kB / 1.05 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.9283, allocations: 0.6104 MB / 1.051 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.9285, allocations: 203.8 kB / 1.051 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.9286, allocations: 3.375 kB / 1.051 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004933/0.9291, allocations: 59.94 kB / 1.051 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.9292, allocations: 31.33 kB / 1.051 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.9292, allocations: 19.06 kB / 1.051 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003705/0.9296, allocations: 363.7 kB / 1.051 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9296, allocations: 0 / 1.051 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006445/0.9302, allocations: 211.2 kB / 1.051 GB, free: 4.332 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001251/0.9315, allocations: 1.181 MB / 1.053 GB, free: 3.332 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.9325, allocations: 0.6999 MB / 1.053 GB, free: 2.809 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9325, allocations: 4.062 kB / 1.053 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.9328, allocations: 182.5 kB / 1.053 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/0.9337, allocations: 167.5 kB / 1.054 GB, free: 2.562 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.9357, allocations: 0.9717 MB / 1.055 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/0.9362, allocations: 0.9386 MB / 1.055 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005881/0.9368, allocations: 127.5 kB / 1.056 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.9371, allocations: 264 kB / 1.056 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of SimCode: time 6.72e-07/0.9371, allocations: 4 kB / 1.056 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.9735, allocations: 13.71 MB / 1.069 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.9738, allocations: 140.5 kB / 1.069 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.35, allocations: 0 / 1.069 GB, free: 2.707 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPID.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)