Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01044/0.01044, allocations: 171 kB / 16.26 MB, free: 6.613 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.7/1.7, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.852/1.852, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005466/0.0005466, allocations: 26.11 kB / 0.6743 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2895, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0007776/0.2904, allocations: 394.6 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 7.212e-05/0.2905, allocations: 8 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.2905, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.828e-05/0.2906, allocations: 3.938 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.615e-05/0.2906, allocations: 0 / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.035e-05/0.2907, allocations: 15.98 kB / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.2908, allocations: 15.98 kB / 0.7883 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.291, allocations: 39.92 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.291, allocations: 3.938 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.291, allocations: 11.92 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2911, allocations: 0 / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.2911, allocations: 3.938 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.2911, allocations: 8 kB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.2912, allocations: 41.58 kB / 0.7884 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.33e-05/0.2912, allocations: 43.8 kB / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2913, allocations: 0 / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2913, allocations: 0 / 0.7885 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2913, allocations: 4 kB / 0.7885 GB, free: 10.94 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003328/0.2916, allocations: 343.7 kB / 0.7888 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2917, allocations: 11.97 kB / 0.7888 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2917, allocations: 8.844 kB / 0.7888 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.2919, allocations: 184.2 kB / 0.789 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.2919, allocations: 384 / 0.789 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.2919, allocations: 8.375 kB / 0.789 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2921, allocations: 74.17 kB / 0.7891 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2921, allocations: 192 / 0.7891 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2921, allocations: 11.94 kB / 0.7891 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2921, allocations: 3.938 kB / 0.7891 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.2922, allocations: 51.95 kB / 0.7891 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.2928, allocations: 479.1 kB / 0.7896 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.951e-05/0.2929, allocations: 169.1 kB / 0.7898 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.2929, allocations: 84.14 kB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.293, allocations: 75.28 kB / 0.7899 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.293, allocations: 109.8 kB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.293, allocations: 0 / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.575e-05/0.2931, allocations: 37.67 kB / 0.79 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.2932, allocations: 126.7 kB / 0.7902 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.2934, allocations: 180.6 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.2934, allocations: 29.7 kB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.2935, allocations: 96.12 kB / 0.7905 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.2935, allocations: 4 kB / 0.7905 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/0.2935, allocations: 9.719 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2937, allocations: 310.8 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.2937, allocations: 11.98 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.2937, allocations: 8 kB / 0.7908 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.2937, allocations: 20.91 kB / 0.7908 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2938, allocations: 0 / 0.7908 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001562/0.2939, allocations: 53.53 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.2939, allocations: 8 kB / 0.7909 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.294, allocations: 0 / 0.7909 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.294, allocations: 0 / 0.7909 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/0.294, allocations: 7.984 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.294, allocations: 3.938 kB / 0.7909 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.56e-05/0.2941, allocations: 7.938 kB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.2941, allocations: 0 / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001048/0.2942, allocations: 197.9 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.2943, allocations: 116.8 kB / 0.7912 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.2943, allocations: 108.9 kB / 0.7913 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.003e-05/0.2944, allocations: 184.2 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.224e-05/0.2945, allocations: 184.1 kB / 0.7916 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.059e-05/0.2946, allocations: 184.2 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.2948, allocations: 425.1 kB / 0.7922 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-05/0.2949, allocations: 102 kB / 0.7923 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.2949, allocations: 105 kB / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.208e-05/0.295, allocations: 188.2 kB / 0.7926 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.123e-05/0.2951, allocations: 176.3 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.553e-05/0.2952, allocations: 188.2 kB / 0.7929 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.422e-05/0.2953, allocations: 184.2 kB / 0.7931 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.2955, allocations: 311.9 kB / 0.7934 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2956, allocations: 186.1 kB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.2957, allocations: 188.2 kB / 0.7938 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.2958, allocations: 109 kB / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.2959, allocations: 184.2 kB / 0.7941 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.2959, allocations: 108.9 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.725e-05/0.296, allocations: 127.2 kB / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/0.296, allocations: 0 / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002134/0.2962, allocations: 8 kB / 0.7943 GB, free: 4.516 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * 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.0001984/0.2964, allocations: 178.5 kB / 0.7945 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.2965, allocations: 7.984 kB / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2965, allocations: 0 / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/0.2965, allocations: 0 / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.2971, allocations: 0.5302 MB / 0.795 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.2973, allocations: 221.9 kB / 0.7952 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.2976, allocations: 0.6926 MB / 0.7959 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.2976, allocations: 7.984 kB / 0.7959 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.2976, allocations: 7.438 kB / 0.7959 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2977, allocations: 4 kB / 0.7959 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.002531/0.3002, allocations: 439.5 kB / 0.7963 GB, free: 2.379 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) Environment - environmentSimulation: