Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 182.5 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000811/0.0008108, allocations: 94.7 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 11.94 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.284, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001079/0.2852, allocations: 407.6 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000159/0.2853, allocations: 13.28 kB / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.2854, allocations: 4 kB / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.2855, allocations: 0 / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.2856, allocations: 0 / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.271e-05/0.2857, allocations: 0 / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.2858, allocations: 31.91 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2859, allocations: 27.98 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.286, allocations: 11.94 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.534e-05/0.286, allocations: 7.922 kB / 0.9014 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.2861, allocations: 4 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.2861, allocations: 0 / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.2861, allocations: 11.94 kB / 0.9014 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.2862, allocations: 37.58 kB / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.2863, allocations: 43.86 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2864, allocations: 0 / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2864, allocations: 4 kB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2864, allocations: 0 / 0.9015 GB, free: 62.76 MB / 0.6042 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.0003703/0.2868, allocations: 339.7 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.2868, allocations: 8.031 kB / 0.9018 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.2869, allocations: 42.75 kB / 0.9019 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.2869, allocations: 8.844 kB / 0.9019 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.2871, allocations: 180.3 kB / 0.9021 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2871, allocations: 8.312 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2872, allocations: 4.375 kB / 0.9021 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2874, allocations: 78.16 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2874, allocations: 3.938 kB / 0.9022 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2874, allocations: 8 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2874, allocations: 0 / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.692e-05/0.2875, allocations: 43.97 kB / 0.9022 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.2881, allocations: 495 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.834e-05/0.2882, allocations: 173.1 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.2882, allocations: 80.14 kB / 0.9029 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2882, allocations: 75.28 kB / 0.903 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2883, allocations: 113.8 kB / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.2883, allocations: 0 / 0.9031 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.591e-05/0.2884, allocations: 33.61 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.2884, allocations: 130.6 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.2885, allocations: 180 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.252e-06/0.2886, allocations: 25.7 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.2886, allocations: 100.1 kB / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.2886, allocations: 0 / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.2886, allocations: 0 / 0.9035 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.2887, allocations: 326.8 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.2888, allocations: 4 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.748e-05/0.2888, allocations: 11.98 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.2888, allocations: 12.86 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2889, allocations: 0 / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000153/0.289, allocations: 49.67 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.289, allocations: 8 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2891, allocations: 4.094 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2891, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.2892, allocations: 11.88 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2892, allocations: 0 / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.2892, allocations: 11.84 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.2893, allocations: 0 / 0.904 GB, free: 60.01 MB / 0.6042 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.0001019/0.2894, allocations: 197.1 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.2894, allocations: 101 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.2895, allocations: 120.8 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/0.2895, allocations: 184.2 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-05/0.2896, allocations: 180.3 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-05/0.2896, allocations: 180.2 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.2899, allocations: 413.2 kB / 0.9053 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.798e-05/0.2899, allocations: 112.9 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.29, allocations: 109 kB / 0.9055 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.287e-05/0.29, allocations: 180.3 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.2901, allocations: 184.1 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.424e-05/0.2902, allocations: 180.2 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-05/0.2902, allocations: 184.2 kB / 0.9062 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.2904, allocations: 315.7 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.2905, allocations: 190.2 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.079e-05/0.2906, allocations: 196.2 kB / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2907, allocations: 108.9 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.2908, allocations: 184.3 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.2909, allocations: 105 kB / 0.9072 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001238/0.291, allocations: 133.9 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.754e-06/0.291, allocations: 0 / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003326/0.2913, allocations: 7.938 kB / 0.9074 GB, free: 56.3 MB / 0.6042 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.0005829/0.2919, allocations: 0.8126 MB / 0.9082 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.658e-05/0.292, allocations: 8 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2921, allocations: 0 / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-06/0.2921, allocations: 3.938 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.2926, allocations: 0.5327 MB / 0.9087 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.2942, allocations: 1.607 MB / 0.9103 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.2944, allocations: 0.6944 MB / 0.9109 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.2945, allocations: 8 kB / 0.911 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.2945, allocations: 19.42 kB / 0.911 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2945, allocations: 0 / 0.911 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.3323, allocations: 1.412 MB / 0.9124 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.3326, allocations: 224.4 kB / 0.9126 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.162, allocations: 4 kB / 0.9126 GB, free: 50.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)