Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPID,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.206/2.206, allocations: 248.5 MB / 261.1 MB, free: 5.953 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.001505/0.001505, allocations: 176.6 kB / 320.4 MB, free: 15.36 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.95/1.95, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001091/0.001091, allocations: 84.75 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.867e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2322, allocations: 106.3 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9214/1.154, allocations: 139.6 MB / 1.027 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/1.154, allocations: 74.7 kB / 1.027 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1116/1.266, allocations: 16.95 MB / 1.044 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.366e-06/1.266, allocations: 3.938 kB / 1.044 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001368/1.266, allocations: 20 kB / 1.044 GB, free: 13.07 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.004111/1.27, allocations: 0.9458 MB / 1.045 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 9.98e-05/1.27, allocations: 8.031 kB / 1.045 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005511/1.271, allocations: 89.39 kB / 1.045 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/1.272, allocations: 98.88 kB / 1.045 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/1.274, allocations: 0.591 MB / 1.045 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/1.274, allocations: 98.09 kB / 1.045 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.274, allocations: 54.55 kB / 1.045 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/1.276, allocations: 0.577 MB / 1.046 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/1.276, allocations: 7.891 kB / 1.046 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.276, allocations: 25.44 kB / 1.046 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/1.276, allocations: 12 kB / 1.046 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/1.277, allocations: 376.6 kB / 1.046 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00519/1.282, allocations: 2.206 MB / 1.049 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/1.284, allocations: 460.2 kB / 1.049 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004704/1.284, allocations: 171.1 kB / 1.049 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.263e-05/1.284, allocations: 7.984 kB / 1.049 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/1.285, allocations: 252 kB / 1.049 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 3.707e-06/1.285, allocations: 4 kB / 1.049 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.001322/1.287, allocations: 417.9 kB / 1.05 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/1.287, allocations: 190.4 kB / 1.05 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/1.288, allocations: 0.5378 MB / 1.051 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/1.288, allocations: 37.08 kB / 1.051 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/1.288, allocations: 360.1 kB / 1.051 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/1.289, allocations: 153.4 kB / 1.051 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/1.289, allocations: 6.562 kB / 1.051 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.289, allocations: 331.9 kB / 1.051 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/1.289, allocations: 145.6 kB / 1.052 GB, free: 6.316 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006473/1.29, allocations: 287.7 kB / 1.052 GB, free: 6.062 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/1.291, allocations: 205.1 kB / 1.052 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.291, allocations: 0 / 1.052 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001581/1.292, allocations: 0.5349 MB / 1.053 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005371/1.293, allocations: 0.9948 MB / 1.054 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.293, allocations: 8 kB / 1.054 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.293, allocations: 4 kB / 1.054 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.294, allocations: 115.2 kB / 1.054 GB, free: 4.328 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/1.294, allocations: 11.92 kB / 1.054 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.295, allocations: 83.38 kB / 1.054 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/1.295, allocations: 30.86 kB / 1.054 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.295, allocations: 7.953 kB / 1.054 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/1.296, allocations: 463 kB / 1.054 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.296, allocations: 0 / 1.054 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.297, allocations: 8 kB / 1.054 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/1.297, allocations: 111.8 kB / 1.054 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.298, allocations: 7.938 kB / 1.054 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/1.298, allocations: 82.61 kB / 1.054 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/1.299, allocations: 19.44 kB / 1.054 GB, free: 3.684 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.0002992/1.299, allocations: 133.7 kB / 1.055 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/1.299, allocations: 83.02 kB / 1.055 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/1.299, allocations: 77.06 kB / 1.055 GB, free: 3.438 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.299, allocations: 8 kB / 1.055 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.299, allocations: 3.984 kB / 1.055 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/1.299, allocations: 0 / 1.055 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.301, allocations: 0.6535 MB / 1.055 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/1.301, allocations: 0 / 1.055 GB, free: 2.887 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.302, allocations: 99.25 kB / 1.055 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/1.302, allocations: 0 / 1.055 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/1.302, allocations: 23.06 kB / 1.055 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/1.302, allocations: 0 / 1.055 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.302, allocations: 0 / 1.055 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.304, allocations: 0.6572 MB / 1.056 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/1.304, allocations: 196.5 kB / 1.056 GB, free: 2.137 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.304, allocations: 19.73 kB / 1.056 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/1.305, allocations: 63.53 kB / 1.056 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.305, allocations: 34.27 kB / 1.056 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/1.305, allocations: 19.8 kB / 1.056 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008614/1.306, allocations: 423.9 kB / 1.057 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.11e-07/1.306, allocations: 4 kB / 1.057 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001092/1.307, allocations: 239.8 kB / 1.057 GB, free: 1.496 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.002222/1.31, allocations: 1.204 MB / 1.058 GB, free: 500 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002017/1.312, allocations: 0.7494 MB / 1.059 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.312, allocations: 0 / 1.059 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005301/1.312, allocations: 191.2 kB / 1.059 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/1.314, allocations: 180 kB / 1.059 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/1.317, allocations: 1.016 MB / 1.06 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/1.318, allocations: 0.9467 MB / 1.061 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001084/1.319, allocations: 135.6 kB / 1.061 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/1.32, allocations: 260.3 kB / 1.062 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of SimCode: time 1.703e-06/1.32, allocations: 0 / 1.062 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07028/1.39, allocations: 15.05 MB / 1.076 GB, free: 14.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000366/1.39, allocations: 143.8 kB / 1.076 GB, free: 14.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.007/4.398, allocations: 4 kB / 1.076 GB, free: 14.46 MB / 0.698 GB