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.001539/0.001539, allocations: 107.3 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.001575/0.001575, 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.585/1.585, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.954/1.954, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.0015/0.0015, allocations: 67.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 114.5 MB / 0.7841 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002111/0.2831, allocations: 0.6551 MB / 0.7847 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001439/0.2832, allocations: 15.92 kB / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.2833, allocations: 0 / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.2834, allocations: 0 / 0.7847 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.938e-05/0.2834, allocations: 3.938 kB / 0.7847 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.328e-05/0.2835, allocations: 8 kB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/0.2836, allocations: 19.98 kB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.2838, allocations: 35.97 kB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.868e-05/0.2838, allocations: 19.92 kB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.2838, allocations: 11.94 kB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.2839, allocations: 4 kB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.2839, allocations: 0 / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.2839, allocations: 15.92 kB / 0.7849 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.284, allocations: 27.81 kB / 0.7849 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.2841, allocations: 51.73 kB / 0.7849 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2841, allocations: 0 / 0.7849 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2841, allocations: 0 / 0.7849 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2841, allocations: 0 / 0.7849 GB, free: 3.035 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.0003544/0.2844, allocations: 355.7 kB / 0.7853 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2845, allocations: 8.031 kB / 0.7853 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.2845, allocations: 8.844 kB / 0.7853 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2847, allocations: 184.2 kB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.2847, allocations: 384 / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2847, allocations: 8.375 kB / 0.7855 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2849, allocations: 86.09 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-06/0.2849, allocations: 192 / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2849, allocations: 3.938 kB / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.285, allocations: 0 / 0.7856 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.285, allocations: 51.97 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.2856, allocations: 483.1 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.65e-05/0.2857, allocations: 169.1 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.2857, allocations: 80.14 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.2857, allocations: 75.28 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.2858, allocations: 109.8 kB / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.905e-06/0.2858, allocations: 0 / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.233e-05/0.2859, allocations: 37.55 kB / 0.7865 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.047e-05/0.2859, allocations: 130.7 kB / 0.7866 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.2861, allocations: 176.2 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.2861, allocations: 25.7 kB / 0.7868 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.2862, allocations: 96.14 kB / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.2862, allocations: 0 / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.2863, allocations: 21.7 kB / 0.7869 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2864, allocations: 310.8 kB / 0.7872 GB, free: 456 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.2864, allocations: 11.98 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.317e-05/0.2864, allocations: 4.109 kB / 0.7873 GB, free: 440 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.2865, allocations: 28.72 kB / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2865, allocations: 0 / 0.7873 GB, free: 408 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001169/0.2866, allocations: 53.66 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2866, allocations: 8 kB / 0.7873 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2866, allocations: 0 / 0.7873 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2867, allocations: 0 / 0.7873 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.2867, allocations: 4 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.2867, allocations: 7.922 kB / 0.7874 GB, free: 328 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.788e-05/0.2868, allocations: 11.92 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.2868, allocations: 0 / 0.7874 GB, free: 316 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.0001227/0.2869, allocations: 197.1 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.4946/0.7816, allocations: 116.8 kB / 0.7877 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.7817, allocations: 107.9 kB / 0.7878 GB, free: 49 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.854e-05/0.7818, allocations: 178.1 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.042e-05/0.7819, allocations: 184.9 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/0.7819, allocations: 179.5 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.7821, allocations: 419.5 kB / 0.7887 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-05/0.7822, allocations: 105.5 kB / 0.7888 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.7822, allocations: 108.1 kB / 0.7889 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-05/0.7822, allocations: 181.9 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.7823, allocations: 183 kB / 0.7892 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.247e-05/0.7823, allocations: 188.7 kB / 0.7894 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.582e-05/0.7824, allocations: 183.1 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.7825, allocations: 310.7 kB / 0.7899 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.7826, allocations: 193.2 kB / 0.7901 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.7826, allocations: 179.2 kB / 0.7902 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.7827, allocations: 106.6 kB / 0.7903 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.7828, allocations: 184.1 kB / 0.7905 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.7828, allocations: 103.7 kB / 0.7906 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001253/0.7829, allocations: 131.2 kB / 0.7907 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.783, allocations: 0 / 0.7907 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002529/0.7832, allocations: 5.25 kB / 0.7908 GB, free: 45.94 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.0001906/0.7834, allocations: 175.2 kB / 0.7909 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.7835, allocations: 14.98 kB / 0.7909 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7835, allocations: 0 / 0.7909 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.479e-06/0.7836, allocations: 6.312 kB / 0.7909 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.7841, allocations: 464.5 kB / 0.7914 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.7843, allocations: 208.6 kB / 0.7916 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.7845, allocations: 0.6954 MB / 0.7923 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.7845, allocations: 8.406 kB / 0.7923 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.7846, allocations: 7.438 kB / 0.7923 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.7846, allocations: 0 / 0.7923 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.002544/0.7871, allocations: 465 kB / 0.7927 GB, free: 44.45 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)