Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.958/2.958, allocations: 287.5 MB / 302.4 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 174.6 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.224/2.224, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009323/0.0009322, allocations: 84.41 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005214/0.0005216, allocations: 10.81 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2199, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.006548/0.2266, allocations: 4.687 MB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004625/0.2312, allocations: 1.675 MB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.2327, allocations: 31.88 kB / 0.9847 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009091/0.2336, allocations: 190.2 kB / 0.9849 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.235, allocations: 142.8 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.2369, allocations: 430.5 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002297/0.2393, allocations: 1.409 MB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.2405, allocations: 0.5421 MB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005957/0.2411, allocations: 353.9 kB / 0.9877 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.2416, allocations: 433.1 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.2418, allocations: 40 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.2421, allocations: 51.98 kB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.2422, allocations: 182.9 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.2425, allocations: 225 kB / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.2442, allocations: 1.469 MB / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2442, allocations: 0 / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2443, allocations: 0 / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.196e-05/0.2443, allocations: 4 kB / 0.99 GB, free: 16.36 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.004477/0.2488, allocations: 1.59 MB / 0.9916 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.2489, allocations: 12.02 kB / 0.9916 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003917/0.2493, allocations: 160.9 kB / 0.9917 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.2496, allocations: 166 kB / 0.9919 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.2513, allocations: 0.7775 MB / 0.9927 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-05/0.2514, allocations: 86.17 kB / 0.9927 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.2516, allocations: 120 kB / 0.9928 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.2543, allocations: 1.1 MB / 0.9939 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.2544, allocations: 0 / 0.9939 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.2545, allocations: 44 kB / 0.994 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.2546, allocations: 28 kB / 0.994 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.2572, allocations: 0.8472 MB / 0.9948 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007396/0.2646, allocations: 3.959 MB / 0.9987 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/0.2681, allocations: 1.037 MB / 0.9997 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.2694, allocations: 478.4 kB / 1 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.359e-05/0.2695, allocations: 20.64 kB / 1 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.2708, allocations: 436.8 kB / 1.001 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 3.908e-06/0.2708, allocations: 0 / 1.001 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.003507/0.2743, allocations: 1.109 MB / 1.002 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.2745, allocations: 218.6 kB / 1.002 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.2761, allocations: 0.9154 MB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.2765, allocations: 45.7 kB / 1.003 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/0.277, allocations: 0.578 MB / 1.003 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.2773, allocations: 287.8 kB / 1.004 GB, free: 1.953 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.2774, allocations: 24 kB / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.2775, allocations: 345.9 kB / 1.004 GB, free: 1.586 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.2787, allocations: 353.8 kB / 1.004 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.2802, allocations: 0.595 MB / 1.005 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.2816, allocations: 440.5 kB / 1.005 GB, free: 120 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.2816, allocations: 4 kB / 1.005 GB, free: 116 kB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003803/0.2854, allocations: 1.095 MB / 1.006 GB, free: 15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.2857, allocations: 258.6 kB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.2858, allocations: 4 kB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/0.2858, allocations: 8 kB / 1.007 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.2874, allocations: 215.6 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/0.2874, allocations: 15.98 kB / 1.007 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.2889, allocations: 196.9 kB / 1.007 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.2891, allocations: 43.94 kB / 1.007 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2891, allocations: 4 kB / 1.007 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002151/0.2913, allocations: 0.8057 MB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.2913, allocations: 4 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2913, allocations: 12.56 kB / 1.008 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.2925, allocations: 171.8 kB / 1.008 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/0.2926, allocations: 15.92 kB / 1.008 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.2938, allocations: 151.1 kB / 1.008 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.49e-05/0.2939, allocations: 43.98 kB / 1.008 GB, free: 13 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,$PRE.pulse.booPul.y,pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.00079/0.2947, allocations: 344.9 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.295, allocations: 114.5 kB / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.2953, allocations: 119.7 kB / 1.009 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.2953, allocations: 12 kB / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.2953, allocations: 0 / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.2954, allocations: 3.984 kB / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.2972, allocations: 1.007 MB / 1.01 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.2972, allocations: 0 / 1.01 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.2986, allocations: 167.8 kB / 1.01 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/0.2987, allocations: 7.953 kB / 1.01 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.43e-05/0.2988, allocations: 23.92 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.2988, allocations: 4 kB / 1.01 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2988, allocations: 0 / 1.01 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/0.303, allocations: 1.269 MB / 1.011 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.3035, allocations: 207.3 kB / 1.011 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/0.3037, allocations: 19.95 kB / 1.012 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007943/0.3045, allocations: 67.95 kB / 1.012 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3046, allocations: 48.92 kB / 1.012 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.246e-05/0.3047, allocations: 24 kB / 1.012 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00131/0.306, allocations: 0.6124 MB / 1.012 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.41e-07/0.306, allocations: 0 / 1.012 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001469/0.3075, allocations: 410.3 kB / 1.013 GB, free: 8.461 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.004587/0.3121, allocations: 1.84 MB / 1.014 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004236/0.3164, allocations: 1.393 MB / 1.016 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.3165, allocations: 128 / 1.016 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.3178, allocations: 405.6 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.3196, allocations: 242.9 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/0.3379, allocations: 6.689 MB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009247/0.3389, allocations: 1.097 MB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009697/0.3399, allocations: 140.3 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009968/0.3409, allocations: 487.3 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.322e-06/0.3409, allocations: 0 / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09475/0.4357, allocations: 21.12 MB / 1.045 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003788/0.4361, allocations: 213.8 kB / 1.045 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.423/3.859, allocations: 2.031 kB / 1.045 GB, free: 6.727 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)