Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 106.6 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001216, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.91 kB / 0.6722 GB, free: 6.465 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2588, allocations: 114.6 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState): time 0.004387/0.2632, allocations: 2.805 MB / 0.7868 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2644, allocations: 0.6325 MB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.2646, allocations: 15.94 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.2649, allocations: 87.06 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.2651, allocations: 67.33 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.388/0.6532, allocations: 177.1 kB / 0.7878 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008203/0.654, allocations: 0.5224 MB / 0.7883 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.6545, allocations: 286.4 kB / 0.7886 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.6546, allocations: 183.8 kB / 0.7887 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.6548, allocations: 212.7 kB / 0.7889 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.6549, allocations: 55.12 kB / 0.789 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.383e-05/0.6549, allocations: 54.5 kB / 0.789 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.655, allocations: 110.7 kB / 0.7892 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.6552, allocations: 235.3 kB / 0.7894 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.6557, allocations: 0.6457 MB / 0.79 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6557, allocations: 0 / 0.79 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6557, allocations: 0 / 0.79 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.6557, allocations: 3.938 kB / 0.79 GB, free: 45.84 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009867/0.6567, allocations: 0.7916 MB / 0.7908 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6567, allocations: 12.31 kB / 0.7908 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.6568, allocations: 54.53 kB / 0.7908 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.6572, allocations: 383.4 kB / 0.7912 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.6573, allocations: 31.84 kB / 0.7912 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.6573, allocations: 42.25 kB / 0.7913 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.6579, allocations: 412.4 kB / 0.7917 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.6579, allocations: 1.469 kB / 0.7917 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.658, allocations: 21.44 kB / 0.7917 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.658, allocations: 7.875 kB / 0.7917 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.6585, allocations: 291.6 kB / 0.792 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.6601, allocations: 1.376 MB / 0.7933 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.6606, allocations: 261.4 kB / 0.7936 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.6608, allocations: 125 kB / 0.7937 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.6609, allocations: 3.672 kB / 0.7937 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.6609, allocations: 40.72 kB / 0.7937 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.6609, allocations: 2.906 kB / 0.7937 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0005559/0.6615, allocations: 300.1 kB / 0.794 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.6615, allocations: 111.2 kB / 0.7941 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.6619, allocations: 440.4 kB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.6619, allocations: 28.89 kB / 0.7946 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.6621, allocations: 271.9 kB / 0.7948 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.6621, allocations: 70.62 kB / 0.7949 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.6622, allocations: 72.7 kB / 0.795 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.6623, allocations: 347.8 kB / 0.7953 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.6625, allocations: 111.1 kB / 0.7954 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.6627, allocations: 211.8 kB / 0.7956 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.6631, allocations: 273.8 kB / 0.7959 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6631, allocations: 0 / 0.7959 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000517/0.6636, allocations: 364.5 kB / 0.7962 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6637, allocations: 6.938 kB / 0.7962 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6637, allocations: 6.938 kB / 0.7962 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6637, allocations: 3.469 kB / 0.7962 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.6639, allocations: 74.23 kB / 0.7963 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6639, allocations: 3.438 kB / 0.7963 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.6641, allocations: 60.62 kB / 0.7964 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.6642, allocations: 14.19 kB / 0.7964 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001828/0.6644, allocations: 195.4 kB / 0.7966 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001392/0.6645, allocations: 189.4 kB / 0.7968 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002187/0.6647, allocations: 228 kB / 0.797 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.6647, allocations: 1.719 kB / 0.797 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000357/0.6651, allocations: 317.8 kB / 0.7973 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.6651, allocations: 7.219 kB / 0.7973 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.6651, allocations: 2.812 kB / 0.7973 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.6651, allocations: 6.906 kB / 0.7973 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.6653, allocations: 65.52 kB / 0.7974 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.6653, allocations: 6.25 kB / 0.7974 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.6655, allocations: 39.05 kB / 0.7974 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.6655, allocations: 14.12 kB / 0.7974 GB, free: 42.79 MB / 0.6544 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.noTri.y,limPID.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 7.613e-05/0.6656, allocations: 196.1 kB / 0.7976 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.6657, allocations: 40.06 kB / 0.7976 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.763e-05/0.6657, allocations: 45.38 kB / 0.7977 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6658, allocations: 2.219 kB / 0.7977 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6658, allocations: 4.516 kB / 0.7977 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.6658, allocations: 4.781 kB / 0.7977 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.6667, allocations: 0.7514 MB / 0.7984 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6667, allocations: 1.938 kB / 0.7984 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.6669, allocations: 43.33 kB / 0.7985 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6669, allocations: 1.156 kB / 0.7985 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.6669, allocations: 10.52 kB / 0.7985 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6669, allocations: 2.875 kB / 0.7985 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6669, allocations: 0 / 0.7985 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.6675, allocations: 465.6 kB / 0.7989 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.6676, allocations: 120.1 kB / 0.799 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.6676, allocations: 7.891 kB / 0.7991 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.6678, allocations: 20.95 kB / 0.7991 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.6678, allocations: 12.84 kB / 0.7991 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.6678, allocations: 11.98 kB / 0.7991 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002844/0.6681, allocations: 305.9 kB / 0.7994 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.6681, allocations: 0 / 0.7994 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004611/0.6686, allocations: 135.7 kB / 0.7995 GB, free: 41.45 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (20): * Single equations (assignments): 20 * 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.0001063/0.6687, allocations: 111.4 kB / 0.7996 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006349/0.6693, allocations: 372.1 kB / 0.8 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6694, allocations: 7.391 kB / 0.8 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.6695, allocations: 96.27 kB / 0.8001 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.6701, allocations: 91.25 kB / 0.8002 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.6713, allocations: 0.7007 MB / 0.8008 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.6716, allocations: 0.8144 MB / 0.8016 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.6717, allocations: 46.7 kB / 0.8017 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.6718, allocations: 33.19 kB / 0.8017 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.6718, allocations: 0 / 0.8017 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.009265/0.6811, allocations: 3.735 MB / 0.8054 GB, free: 39.89 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)