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.288/2.288, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 185.8 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.274/2.274, allocations: 205.4 MB / 0.5764 GB, free: 21.17 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.001135/0.001134, allocations: 97.73 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004688, allocations: 13 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2684, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.5144, allocations: 139.7 MB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.5148, allocations: 79.95 kB / 1.035 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08155/0.5964, allocations: 16.96 MB / 1.052 GB, free: 5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5964, allocations: 0 / 1.052 GB, free: 5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.421e-05/0.5966, allocations: 23.98 kB / 1.052 GB, free: 4.977 MB / 0.698 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.003442/0.6, allocations: 1.071 MB / 1.053 GB, free: 3.848 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.6001, allocations: 8.031 kB / 1.053 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003128/0.6004, allocations: 94.52 kB / 1.053 GB, free: 3.738 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/0.6007, allocations: 90.88 kB / 1.053 GB, free: 3.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.6025, allocations: 0.5901 MB / 1.054 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.6027, allocations: 104.3 kB / 1.054 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.6029, allocations: 56 kB / 1.054 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.605, allocations: 0.6572 MB / 1.054 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.6051, allocations: 7.938 kB / 1.054 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.6052, allocations: 20 kB / 1.054 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.6052, allocations: 12 kB / 1.055 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.6072, allocations: 499.6 kB / 1.055 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7058/1.313, allocations: 2.21 MB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/1.317, allocations: 0.596 MB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/1.317, allocations: 7.656 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001664/1.319, allocations: 323 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 6.002e-06/1.319, allocations: 3.562 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.003976/1.323, allocations: 0.7142 MB / 1.059 GB, free: 145.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.323, allocations: 189 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/1.324, allocations: 0.5477 MB / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/1.325, allocations: 35.48 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/1.325, allocations: 362.8 kB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/1.326, allocations: 154 kB / 1.06 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/1.326, allocations: 12.97 kB / 1.06 GB, free: 145.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/1.326, allocations: 329.4 kB / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.327, allocations: 206.1 kB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.328, allocations: 345.3 kB / 1.061 GB, free: 144.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.33, allocations: 259.4 kB / 1.061 GB, free: 144.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/1.33, allocations: 4.75 kB / 1.061 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00312/1.333, allocations: 0.6607 MB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000333/1.333, allocations: 0.9877 MB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.333, allocations: 10.61 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.714e-05/1.333, allocations: 5.812 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.335, allocations: 119.5 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/1.335, allocations: 7.312 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.336, allocations: 88.12 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-05/1.336, allocations: 19.36 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.336, allocations: 2.625 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002726/1.339, allocations: 0.5524 MB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.339, allocations: 0 / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.339, allocations: 6.625 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.341, allocations: 120.8 kB / 1.064 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/1.341, allocations: 7.578 kB / 1.064 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.342, allocations: 78.3 kB / 1.064 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/1.342, allocations: 18.69 kB / 1.064 GB, free: 143.6 MB / 0.698 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 () * Number of clocked 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.000737/1.343, allocations: 279.8 kB / 1.064 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/1.343, allocations: 74.78 kB / 1.064 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/1.343, allocations: 78.39 kB / 1.064 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.343, allocations: 5.781 kB / 1.064 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.343, allocations: 6.484 kB / 1.064 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/1.343, allocations: 1.828 kB / 1.064 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/1.345, allocations: 0.6567 MB / 1.065 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.345, allocations: 0 / 1.065 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.347, allocations: 100.4 kB / 1.065 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/1.347, allocations: 7 kB / 1.065 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/1.347, allocations: 8.812 kB / 1.065 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/1.347, allocations: 0 / 1.065 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.347, allocations: 0 / 1.065 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004472/1.351, allocations: 0.8336 MB / 1.066 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/1.352, allocations: 203 kB / 1.066 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/1.352, allocations: 10.88 kB / 1.066 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.354, allocations: 65.95 kB / 1.066 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/1.354, allocations: 35.39 kB / 1.066 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/1.354, allocations: 22.11 kB / 1.066 GB, free: 142.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00142/1.356, allocations: 435.8 kB / 1.066 GB, free: 142.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.02e-07/1.356, allocations: 0 / 1.066 GB, free: 142.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001952/1.358, allocations: 232 kB / 1.067 GB, free: 142.7 MB / 0.698 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) * Number of clocked states: 0 () * 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.005219/1.363, allocations: 1.397 MB / 1.068 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004658/1.368, allocations: 0.8883 MB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.368, allocations: 0.9688 kB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/1.369, allocations: 249.6 kB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/1.372, allocations: 174.8 kB / 1.069 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/1.379, allocations: 3.308 MB / 1.073 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/1.38, allocations: 0.9339 MB / 1.073 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001325/1.381, allocations: 91.75 kB / 1.074 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009184/1.382, allocations: 264.2 kB / 1.074 GB, free: 138.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/1.382, allocations: 4 kB / 1.074 GB, free: 138.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0691/1.451, allocations: 13.72 MB / 1.087 GB, free: 137.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002435/1.452, allocations: 169.5 kB / 1.087 GB, free: 137.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/4.574, allocations: 0 / 1.087 GB, free: 137.3 MB / 0.698 GB