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.001302/0.001302, allocations: 99.28 kB / 16.27 MB, free: 6 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.001246/0.001246, allocations: 187 kB / 17.2 MB, free: 5.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.523/1.523, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.929/1.929, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.002269/0.002269, allocations: 71.89 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2855, allocations: 114.5 MB / 0.784 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002061/0.2876, allocations: 0.6468 MB / 0.7847 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001437/0.2878, allocations: 15.92 kB / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.2878, allocations: 0 / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.288, allocations: 0 / 0.7847 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.288, allocations: 3.938 kB / 0.7847 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.61e-05/0.2881, allocations: 4 kB / 0.7847 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.2882, allocations: 35.84 kB / 0.7847 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2883, allocations: 35.98 kB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.2884, allocations: 8 kB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.2884, allocations: 19.86 kB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.2885, allocations: 4 kB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.2885, allocations: 4 kB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.965e-05/0.2885, allocations: 4 kB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.2886, allocations: 27.86 kB / 0.7848 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.583e-05/0.2887, allocations: 43.81 kB / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2887, allocations: 0 / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2887, allocations: 3.938 kB / 0.7849 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.2887, allocations: 4 kB / 0.7849 GB, free: 3.023 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003789/0.2891, allocations: 355.7 kB / 0.7852 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2891, allocations: 8.031 kB / 0.7852 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.2892, allocations: 8.844 kB / 0.7852 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.2894, allocations: 180.2 kB / 0.7854 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.2894, allocations: 4.375 kB / 0.7854 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.2894, allocations: 4.375 kB / 0.7854 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2896, allocations: 82.16 kB / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2896, allocations: 192 / 0.7855 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.2896, allocations: 11.94 kB / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2896, allocations: 0 / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.2897, allocations: 51.91 kB / 0.7856 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.2903, allocations: 479.2 kB / 0.786 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/0.2904, allocations: 173.1 kB / 0.7862 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.2904, allocations: 88.14 kB / 0.7863 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.2904, allocations: 75.28 kB / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.2905, allocations: 109.8 kB / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2905, allocations: 0 / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.755e-05/0.2906, allocations: 37.55 kB / 0.7865 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.2907, allocations: 126.7 kB / 0.7866 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.2909, allocations: 177.7 kB / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.2909, allocations: 29.7 kB / 0.7868 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.291, allocations: 92.14 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.291, allocations: 0 / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.291, allocations: 13.72 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2912, allocations: 318.8 kB / 0.7872 GB, free: 436 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.2912, allocations: 4 kB / 0.7872 GB, free: 432 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.581e-05/0.2912, allocations: 11.98 kB / 0.7872 GB, free: 420 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.2913, allocations: 20.91 kB / 0.7872 GB, free: 396 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2913, allocations: 112 / 0.7872 GB, free: 396 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001225/0.2914, allocations: 57.47 kB / 0.7873 GB, free: 332 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2914, allocations: 11.94 kB / 0.7873 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2914, allocations: 0 / 0.7873 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2914, allocations: 0 / 0.7873 GB, free: 320 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.2915, allocations: 4 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2915, allocations: 3.938 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.2916, allocations: 7.938 kB / 0.7873 GB, free: 304 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.2916, allocations: 0 / 0.7873 GB, free: 304 kB / 0.6544 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.0001339/0.2917, allocations: 197.1 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4036/0.6953, allocations: 108.9 kB / 0.7876 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/0.6954, allocations: 114.3 kB / 0.7877 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.6955, allocations: 178.3 kB / 0.7879 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/0.6955, allocations: 185.9 kB / 0.7881 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/0.6955, allocations: 184 kB / 0.7882 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.6957, allocations: 417.4 kB / 0.7886 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.585e-05/0.6957, allocations: 108.4 kB / 0.7887 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.497e-05/0.6958, allocations: 101.8 kB / 0.7888 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.678e-05/0.6958, allocations: 179 kB / 0.789 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.6958, allocations: 188.2 kB / 0.7892 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.439e-05/0.6959, allocations: 187.1 kB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-05/0.6959, allocations: 182.8 kB / 0.7895 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.696, allocations: 309.7 kB / 0.7898 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.6961, allocations: 196 kB / 0.79 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.6961, allocations: 176.3 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.534e-05/0.6962, allocations: 108.1 kB / 0.7903 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.6962, allocations: 179.2 kB / 0.7905 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.6963, allocations: 103.6 kB / 0.7906 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.963e-05/0.6964, allocations: 138.7 kB / 0.7907 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6964, allocations: 2.25 kB / 0.7907 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003337/0.6967, allocations: 5.25 kB / 0.7907 GB, free: 45.3 MB / 0.6544 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.0001148/0.6968, allocations: 174.8 kB / 0.7909 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.6969, allocations: 8.531 kB / 0.7909 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6969, allocations: 0 / 0.7909 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.6969, allocations: 3.906 kB / 0.7909 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.6973, allocations: 466.5 kB / 0.7913 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.6976, allocations: 236 kB / 0.7916 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.6977, allocations: 0.6913 MB / 0.7922 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.6977, allocations: 12.3 kB / 0.7922 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.6977, allocations: 0 / 0.7922 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.001873/0.6996, allocations: 0.7617 MB / 0.793 GB, free: 43.78 MB / 0.6544 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)