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.001516/0.001516, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.671/1.671, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.808/1.808, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.00154/0.00154, allocations: 73.67 kB / 0.6715 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3162, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002146/0.3184, allocations: 0.6556 MB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001475/0.3186, allocations: 4 kB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.3187, allocations: 7.938 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.871e-05/0.3188, allocations: 0 / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.3188, allocations: 3.984 kB / 0.784 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.436e-05/0.3189, allocations: 7.938 kB / 0.784 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.319, allocations: 27.97 kB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3192, allocations: 31.98 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.3192, allocations: 15.94 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.248e-05/0.3192, allocations: 15.92 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3193, allocations: 7.938 kB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.3193, allocations: 0 / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.953e-05/0.3193, allocations: 8 kB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.3194, allocations: 19.88 kB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.973e-05/0.3195, allocations: 51.8 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3195, allocations: 0 / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3195, allocations: 0 / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3195, allocations: 4 kB / 0.7842 GB, free: 12.6 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.0003698/0.3199, allocations: 355.6 kB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3199, allocations: 8.031 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.32, allocations: 4.938 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3201, allocations: 184.2 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3202, allocations: 384 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.3202, allocations: 8.375 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.3203, allocations: 70.23 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3204, allocations: 4.125 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3204, allocations: 11.94 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.3204, allocations: 0 / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.3205, allocations: 51.91 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.321, allocations: 479.2 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.3211, allocations: 177.1 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.3211, allocations: 84.14 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3211, allocations: 75.28 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.3212, allocations: 109.8 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.495e-06/0.3212, allocations: 3.984 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.095e-05/0.3213, allocations: 33.61 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3213, allocations: 134.6 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3215, allocations: 180.6 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.3215, allocations: 29.7 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.3216, allocations: 96.12 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.3216, allocations: 0 / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3216, allocations: 9.719 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3217, allocations: 318.8 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.3218, allocations: 7.984 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.3218, allocations: 7.984 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.3218, allocations: 20.92 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3218, allocations: 0 / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001236/0.322, allocations: 49.59 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.322, allocations: 11.92 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.322, allocations: 4 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.322, allocations: 0 / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.3221, allocations: 0 / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.3221, allocations: 3.938 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.3221, allocations: 11.95 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3222, allocations: 7.938 kB / 0.7867 GB, free: 9.867 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.000104/0.3223, allocations: 197.1 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.3223, allocations: 105 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.3224, allocations: 112.8 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.696e-05/0.3225, allocations: 180.2 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.365e-05/0.3225, allocations: 184.2 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-05/0.3226, allocations: 188.2 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3228, allocations: 417.2 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/0.3229, allocations: 108.9 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.3229, allocations: 109 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.067e-05/0.323, allocations: 181.3 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.3231, allocations: 184.2 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.14e-05/0.3231, allocations: 176.3 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.015e-05/0.3232, allocations: 188.2 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.3234, allocations: 311.7 kB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.3235, allocations: 189.9 kB / 0.7894 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.3235, allocations: 180.3 kB / 0.7895 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.3236, allocations: 113.2 kB / 0.7896 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.3237, allocations: 184.2 kB / 0.7898 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.3237, allocations: 105 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.564e-05/0.3238, allocations: 135.2 kB / 0.79 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3238, allocations: 0 / 0.79 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000231/0.3241, allocations: 4 kB / 0.7901 GB, free: 6.164 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.0001831/0.3243, allocations: 178.5 kB / 0.7902 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.844e-05/0.3244, allocations: 11.98 kB / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3244, allocations: 3.938 kB / 0.7902 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3244, allocations: 0 / 0.7902 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3249, allocations: 466.2 kB / 0.7907 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.3253, allocations: 212.2 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3255, allocations: 0.6923 MB / 0.7916 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.3256, allocations: 11.98 kB / 0.7916 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.3256, allocations: 7.438 kB / 0.7916 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.3256, allocations: 4 kB / 0.7916 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.002974/0.3286, allocations: 471.3 kB / 0.792 GB, free: 4.074 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (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)