Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 308.1 MB, free: 4.32 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.001739/0.001739, allocations: 190.2 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.882/1.882, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001184, allocations: 92.67 kB / 0.748 GB, free: 60.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2861, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003595/0.2897, allocations: 1.861 MB / 0.9841 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.2919, allocations: 1.222 MB / 0.9852 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.2925, allocations: 15.94 kB / 0.9853 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.2929, allocations: 47.52 kB / 0.9853 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.2934, allocations: 47.7 kB / 0.9854 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.2938, allocations: 139.8 kB / 0.9855 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000627/0.2944, allocations: 445.1 kB / 0.9859 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004788/0.2949, allocations: 255 kB / 0.9862 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.2952, allocations: 147.2 kB / 0.9863 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.2954, allocations: 182.9 kB / 0.9865 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.233e-05/0.2955, allocations: 28 kB / 0.9865 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-05/0.2956, allocations: 28 kB / 0.9865 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.2957, allocations: 79.62 kB / 0.9866 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.2958, allocations: 186.8 kB / 0.9868 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.2964, allocations: 0.5452 MB / 0.9873 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2964, allocations: 0 / 0.9873 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2964, allocations: 3.938 kB / 0.9873 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.2964, allocations: 0 / 0.9873 GB, free: 5.148 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00154/0.298, allocations: 0.7523 MB / 0.988 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.298, allocations: 8.031 kB / 0.9881 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.2981, allocations: 48.38 kB / 0.9881 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.2987, allocations: 372.1 kB / 0.9885 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.2987, allocations: 29.38 kB / 0.9885 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.2988, allocations: 44.38 kB / 0.9885 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.2995, allocations: 391.6 kB / 0.9889 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2995, allocations: 192 / 0.9889 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.2996, allocations: 27.86 kB / 0.9889 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2996, allocations: 12 kB / 0.9889 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.3001, allocations: 271.8 kB / 0.9892 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.3022, allocations: 1.327 MB / 0.9905 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.3028, allocations: 222.8 kB / 0.9907 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.303, allocations: 115.3 kB / 0.9908 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.303, allocations: 0 / 0.9908 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3031, allocations: 34.56 kB / 0.9909 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.3031, allocations: 0 / 0.9909 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.0006963/0.3038, allocations: 277 kB / 0.9911 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3039, allocations: 110.8 kB / 0.9912 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.3044, allocations: 421.5 kB / 0.9916 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.3044, allocations: 33.69 kB / 0.9917 GB, free: 480 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.3046, allocations: 255.8 kB / 0.9919 GB, free: 220 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.3047, allocations: 59.11 kB / 0.992 GB, free: 160 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3048, allocations: 69.59 kB / 0.992 GB, free: 84 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.305, allocations: 346.8 kB / 0.9924 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.3052, allocations: 104.8 kB / 0.9925 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.3055, allocations: 206.8 kB / 0.9926 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.306, allocations: 249.9 kB / 0.9929 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.306, allocations: 0 / 0.9929 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006368/0.3066, allocations: 353 kB / 0.9932 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3067, allocations: 4 kB / 0.9932 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3067, allocations: 4 kB / 0.9932 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3067, allocations: 4 kB / 0.9932 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3069, allocations: 63.84 kB / 0.9933 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.307, allocations: 7.984 kB / 0.9933 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.3072, allocations: 55.52 kB / 0.9934 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.3072, allocations: 8 kB / 0.9934 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002124/0.3075, allocations: 200.1 kB / 0.9936 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001698/0.3076, allocations: 171.6 kB / 0.9937 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002461/0.3079, allocations: 213.5 kB / 0.9939 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.3079, allocations: 0 / 0.9939 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004077/0.3083, allocations: 298.5 kB / 0.9942 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3083, allocations: 8 kB / 0.9942 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.3084, allocations: 0 / 0.9942 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.3084, allocations: 4 kB / 0.9942 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.3086, allocations: 51.92 kB / 0.9943 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3086, allocations: 7.938 kB / 0.9943 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.3088, allocations: 39.67 kB / 0.9943 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.3088, allocations: 20.2 kB / 0.9943 GB, free: 13.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3089, allocations: 200.1 kB / 0.9945 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.309, allocations: 35.53 kB / 0.9946 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.939e-05/0.3091, allocations: 35.61 kB / 0.9946 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3091, allocations: 12.02 kB / 0.9946 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3091, allocations: 0 / 0.9946 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3091, allocations: 3.984 kB / 0.9946 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3102, allocations: 0.695 MB / 0.9953 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3102, allocations: 7.938 kB / 0.9953 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.3104, allocations: 35.97 kB / 0.9953 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.3104, allocations: 4 kB / 0.9953 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.3105, allocations: 4 kB / 0.9953 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3105, allocations: 4 kB / 0.9953 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3105, allocations: 4.062 kB / 0.9953 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/0.3147, allocations: 2.41 MB / 0.9977 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.3148, allocations: 112.7 kB / 0.9978 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3149, allocations: 8 kB / 0.9978 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.3151, allocations: 19.92 kB / 0.9978 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.3151, allocations: 15.92 kB / 0.9978 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3151, allocations: 8 kB / 0.9979 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003275/0.3155, allocations: 295.2 kB / 0.9981 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3155, allocations: 0 / 0.9981 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007767/0.3162, allocations: 179.4 kB / 0.9983 GB, free: 9.246 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/0.3164, allocations: 107.2 kB / 0.9984 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007599/0.3172, allocations: 349 kB / 0.9987 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3172, allocations: 0 / 0.9987 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3174, allocations: 83.89 kB / 0.9988 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.318, allocations: 77.03 kB / 0.9989 GB, free: 8.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3195, allocations: 0.976 MB / 0.9998 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.3199, allocations: 0.8038 MB / 1.001 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002132/0.3202, allocations: 47.28 kB / 1.001 GB, free: 6.734 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.8e-05/0.3202, allocations: 31.42 kB / 1.001 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.3203, allocations: 4 kB / 1.001 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of Templates: time 0.008602/0.3289, allocations: 3.655 MB / 1.004 GB, free: 3.066 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)