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.446/1.446, allocations: 252 MB / 267 MB, free: 10.98 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.001103/0.001103, allocations: 178.4 kB / 326.6 MB, free: 2.23 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.935/1.935, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0007348/0.0007348, allocations: 103.7 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 12.78 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003672/0.2678, allocations: 3.154 MB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.2703, allocations: 1.314 MB / 0.9047 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004268/0.2708, allocations: 27.88 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.2711, allocations: 91.11 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.2715, allocations: 135 kB / 0.9049 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009198/0.2724, allocations: 458.2 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000612/0.2731, allocations: 0.8238 MB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.2734, allocations: 258.9 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.2737, allocations: 278.5 kB / 0.9067 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.274, allocations: 254.3 kB / 0.9069 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.274, allocations: 24 kB / 0.9069 GB, free: 57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.109e-05/0.2741, allocations: 20 kB / 0.9069 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.2742, allocations: 107.4 kB / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.859e-05/0.2743, allocations: 137.3 kB / 0.9072 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.2747, allocations: 0.6275 MB / 0.9078 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2747, allocations: 0 / 0.9078 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.577e-06/0.2747, allocations: 3.984 kB / 0.9078 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.2747, allocations: 4 kB / 0.9078 GB, free: 56.09 MB / 0.6042 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.001707/0.2764, allocations: 1.063 MB / 0.9088 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.2765, allocations: 11.97 kB / 0.9088 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.2766, allocations: 94.52 kB / 0.9089 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.2767, allocations: 94.83 kB / 0.909 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007741/0.2775, allocations: 0.5785 MB / 0.9096 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/0.2776, allocations: 96.41 kB / 0.9097 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.2777, allocations: 51.94 kB / 0.9097 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.2787, allocations: 0.6158 MB / 0.9103 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2787, allocations: 0 / 0.9103 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.2788, allocations: 19.98 kB / 0.9104 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2788, allocations: 12 kB / 0.9104 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008398/0.2796, allocations: 447.6 kB / 0.9108 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.2819, allocations: 2.133 MB / 0.9129 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.283, allocations: 0.504 MB / 0.9134 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004149/0.2834, allocations: 231.2 kB / 0.9136 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.2835, allocations: 11.95 kB / 0.9136 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/0.2841, allocations: 294 kB / 0.9139 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.2841, allocations: 3.938 kB / 0.9139 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.001303/0.2854, allocations: 0.6347 MB / 0.9145 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.2855, allocations: 88.86 kB / 0.9146 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.286, allocations: 0.6217 MB / 0.9152 GB, free: 48.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.2861, allocations: 33.7 kB / 0.9152 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.2863, allocations: 360.8 kB / 0.9156 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/0.2864, allocations: 153.8 kB / 0.9157 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.2864, allocations: 8 kB / 0.9157 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.36e-05/0.2865, allocations: 329.9 kB / 0.916 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.2869, allocations: 185 kB / 0.9162 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.2874, allocations: 284.2 kB / 0.9165 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.2878, allocations: 238.4 kB / 0.9167 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2878, allocations: 0 / 0.9167 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001006/0.2888, allocations: 0.6061 MB / 0.9173 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.2889, allocations: 197.2 kB / 0.9175 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2889, allocations: 0 / 0.9175 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2889, allocations: 8 kB / 0.9175 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.2894, allocations: 111.8 kB / 0.9176 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2894, allocations: 7.938 kB / 0.9176 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.2898, allocations: 79.34 kB / 0.9177 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.2899, allocations: 16 kB / 0.9177 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-06/0.2899, allocations: 4 kB / 0.9177 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008566/0.2907, allocations: 0.5077 MB / 0.9182 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.2908, allocations: 3.938 kB / 0.9182 GB, free: 45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.2908, allocations: 8 kB / 0.9182 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.2912, allocations: 103.9 kB / 0.9183 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2912, allocations: 7.938 kB / 0.9183 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.2915, allocations: 55.83 kB / 0.9184 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.2915, allocations: 23.98 kB / 0.9184 GB, free: 44.8 MB / 0.6042 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.0002453/0.2918, allocations: 276.9 kB / 0.9187 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.2919, allocations: 79.05 kB / 0.9187 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.292, allocations: 79.34 kB / 0.9188 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.292, allocations: 4 kB / 0.9188 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.292, allocations: 11.92 kB / 0.9188 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.292, allocations: 0 / 0.9188 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.2926, allocations: 0.6258 MB / 0.9194 GB, free: 43.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2926, allocations: 0 / 0.9194 GB, free: 43.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.293, allocations: 87.89 kB / 0.9195 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.293, allocations: 0 / 0.9195 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.2931, allocations: 8 kB / 0.9195 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2931, allocations: 7.984 kB / 0.9195 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2931, allocations: 4 kB / 0.9195 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.2944, allocations: 0.7396 MB / 0.9203 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.2946, allocations: 207.9 kB / 0.9205 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.2946, allocations: 12 kB / 0.9205 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.295, allocations: 39.97 kB / 0.9205 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.2951, allocations: 31.94 kB / 0.9205 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.2952, allocations: 19.98 kB / 0.9206 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003864/0.2956, allocations: 427.1 kB / 0.921 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2956, allocations: 0 / 0.921 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000492/0.2961, allocations: 211.4 kB / 0.9212 GB, free: 41.86 MB / 0.6042 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.001504/0.2976, allocations: 1.308 MB / 0.9224 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.2989, allocations: 0.8126 MB / 0.9232 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2989, allocations: 0 / 0.9232 GB, free: 39.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003999/0.2994, allocations: 223.9 kB / 0.9235 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/0.3002, allocations: 187.6 kB / 0.9236 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.3056, allocations: 4.01 MB / 0.9276 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.3059, allocations: 0.9183 MB / 0.9284 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003865/0.3063, allocations: 101.2 kB / 0.9285 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.3066, allocations: 259.3 kB / 0.9288 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.3066, allocations: 0 / 0.9288 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3319, allocations: 13.3 MB / 0.9418 GB, free: 20.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/0.3321, allocations: 186.9 kB / 0.942 GB, free: 20.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.003, allocations: 0 / 0.942 GB, free: 20.56 MB / 0.6042 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)