Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001479/0.001479, allocations: 194.8 kB / 16.14 MB, free: 6.711 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.428/1.428, allocations: 205.1 MB / 222 MB, free: 5.012 MB / 174.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.736/1.736, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001324/0.001324, allocations: 63.91 kB / 0.6708 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2716, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004978/0.2766, allocations: 3.743 MB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.2794, allocations: 1.345 MB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.2799, allocations: 27.81 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.2803, allocations: 87.17 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.2808, allocations: 143 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2819, allocations: 0.5304 MB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007918/0.2827, allocations: 0.9017 MB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004815/0.2832, allocations: 341.9 kB / 0.7896 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.2836, allocations: 322.2 kB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.2839, allocations: 326.1 kB / 0.7902 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.588e-05/0.284, allocations: 36 kB / 0.7903 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.2841, allocations: 40 kB / 0.7903 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2842, allocations: 143.2 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.2845, allocations: 341.7 kB / 0.7908 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.2852, allocations: 0.8173 MB / 0.7916 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2852, allocations: 0 / 0.7916 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.82e-07/0.2852, allocations: 0 / 0.7916 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.2852, allocations: 0 / 0.7916 GB, free: 4.859 MB / 0.6075 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.002037/0.2872, allocations: 1.187 MB / 0.7927 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2873, allocations: 8.031 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2875, allocations: 99.75 kB / 0.7928 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.2883, allocations: 0.6026 MB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.2885, allocations: 92.97 kB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.2886, allocations: 60.36 kB / 0.7935 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.2896, allocations: 0.6041 MB / 0.7941 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2896, allocations: 0 / 0.7941 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.2897, allocations: 20 kB / 0.7942 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2897, allocations: 12 kB / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/0.2906, allocations: 427.6 kB / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.2932, allocations: 2.114 MB / 0.7966 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.2944, allocations: 0.4998 MB / 0.7971 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.2948, allocations: 223.4 kB / 0.7973 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.2949, allocations: 8 kB / 0.7973 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007087/0.2956, allocations: 277.9 kB / 0.7976 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 1.794e-06/0.2956, allocations: 4 kB / 0.7976 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.001385/0.297, allocations: 0.6076 MB / 0.7982 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.2971, allocations: 88.84 kB / 0.7983 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006386/0.2977, allocations: 0.6178 MB / 0.7989 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.2978, allocations: 41.64 kB / 0.7989 GB, free: 13 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.298, allocations: 364.8 kB / 0.7993 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2982, allocations: 157.8 kB / 0.7994 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.2983, allocations: 94.23 kB / 0.7995 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2984, allocations: 322 kB / 0.7998 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.2989, allocations: 198.9 kB / 0.8 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.2993, allocations: 276.2 kB / 0.8003 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008408/0.3002, allocations: 469.9 kB / 0.8007 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3002, allocations: 7.938 kB / 0.8007 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001105/0.3013, allocations: 0.6062 MB / 0.8013 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.3014, allocations: 29.7 kB / 0.8014 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3014, allocations: 4 kB / 0.8014 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3014, allocations: 4 kB / 0.8014 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.3019, allocations: 111.8 kB / 0.8015 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3019, allocations: 4 kB / 0.8015 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.3022, allocations: 59.5 kB / 0.8015 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.3023, allocations: 20 kB / 0.8016 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005261/0.3028, allocations: 313.2 kB / 0.8019 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004175/0.3033, allocations: 272.2 kB / 0.8021 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007542/0.304, allocations: 446 kB / 0.8025 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.304, allocations: 0 / 0.8025 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.00102/0.3051, allocations: 0.5863 MB / 0.8031 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3051, allocations: 33.7 kB / 0.8031 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.3051, allocations: 0 / 0.8031 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-06/0.3051, allocations: 8.312 kB / 0.8032 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.3055, allocations: 107.8 kB / 0.8033 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3055, allocations: 4 kB / 0.8033 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.3059, allocations: 55.56 kB / 0.8033 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.3059, allocations: 16 kB / 0.8033 GB, free: 8.285 MB / 0.6231 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00018/0.3061, allocations: 220 kB / 0.8035 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.2e-05/0.3062, allocations: 71.09 kB / 0.8036 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.3064, allocations: 87.33 kB / 0.8037 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3064, allocations: 4 kB / 0.8037 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3064, allocations: 0 / 0.8037 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.3064, allocations: 0 / 0.8037 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000633/0.307, allocations: 0.6258 MB / 0.8043 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.307, allocations: 0 / 0.8043 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.3075, allocations: 75.89 kB / 0.8044 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.3075, allocations: 4 kB / 0.8044 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.3075, allocations: 11.98 kB / 0.8044 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3075, allocations: 8 kB / 0.8044 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3076, allocations: 0 / 0.8044 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.309, allocations: 0.7315 MB / 0.8051 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.3092, allocations: 196 kB / 0.8053 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/0.3093, allocations: 12 kB / 0.8053 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.3096, allocations: 35.95 kB / 0.8053 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.3097, allocations: 27.97 kB / 0.8054 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3098, allocations: 15.98 kB / 0.8054 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004604/0.3102, allocations: 439 kB / 0.8058 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3102, allocations: 0 / 0.8058 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005577/0.3108, allocations: 215.3 kB / 0.806 GB, free: 5.441 MB / 0.6231 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 (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.000143/0.311, allocations: 121.4 kB / 0.8061 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.3124, allocations: 0.7807 MB / 0.8069 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3124, allocations: 1 kB / 0.8069 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.3129, allocations: 227.9 kB / 0.8071 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.3137, allocations: 192.4 kB / 0.8073 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.3157, allocations: 1.451 MB / 0.8087 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.3162, allocations: 0.9183 MB / 0.8096 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003985/0.3166, allocations: 93.2 kB / 0.8097 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3167, allocations: 47.42 kB / 0.8097 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.3167, allocations: 0 / 0.8097 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of Templates: time 0.01255/0.3293, allocations: 7.201 MB / 0.8168 GB, free: 10.41 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)