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.464/1.464, allocations: 252 MB / 267 MB, free: 10.97 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.001001/0.001001, allocations: 185.3 kB / 326.6 MB, free: 2.219 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.996/1.996, allocations: 205.4 MB / 0.5777 GB, free: 20.52 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.0009783/0.0009783, allocations: 89.16 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003694, allocations: 11.97 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2186, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008637/0.2196, allocations: 403.9 kB / 0.9007 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001264/0.2197, allocations: 8 kB / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.2197, allocations: 0 / 0.9007 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.172e-05/0.2199, allocations: 7.938 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.2199, allocations: 3.984 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.607e-05/0.22, allocations: 7.984 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.538e-05/0.2201, allocations: 27.92 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2202, allocations: 23.98 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.459e-05/0.2202, allocations: 7.938 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.2203, allocations: 7.938 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2203, allocations: 0 / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.2203, allocations: 0 / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.2203, allocations: 11.98 kB / 0.9008 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.2204, allocations: 29.64 kB / 0.9008 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.597e-05/0.2205, allocations: 43.92 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2205, allocations: 0 / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2205, allocations: 0 / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2205, allocations: 0 / 0.9009 GB, free: 63.58 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.0002758/0.2208, allocations: 332.8 kB / 0.9012 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2208, allocations: 8.031 kB / 0.9012 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.2209, allocations: 42.55 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.2209, allocations: 7.906 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.221, allocations: 178.9 kB / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2211, allocations: 11.98 kB / 0.9014 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2211, allocations: 8 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.2212, allocations: 73.61 kB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2212, allocations: 0 / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2213, allocations: 0 / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2213, allocations: 4 kB / 0.9015 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.2213, allocations: 51.95 kB / 0.9016 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.2218, allocations: 487 kB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.244e-05/0.2218, allocations: 169.1 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.2219, allocations: 80.14 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2219, allocations: 83.23 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.2219, allocations: 109.8 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.2219, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.669e-05/0.222, allocations: 45.55 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.222, allocations: 126.7 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2222, allocations: 172.7 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.2222, allocations: 25.7 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.2223, allocations: 96.12 kB / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.2223, allocations: 112 / 0.9029 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.2223, allocations: 3.938 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.2223, allocations: 314.8 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.2224, allocations: 15.98 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.05e-05/0.2224, allocations: 4 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.2224, allocations: 11.98 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2224, allocations: 0 / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.897e-05/0.2225, allocations: 57.53 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2225, allocations: 7.953 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2225, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2226, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.2226, allocations: 7.984 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2226, allocations: 4.094 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.2227, allocations: 4 kB / 0.9033 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2227, allocations: 0 / 0.9033 GB, free: 60.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.2228, allocations: 197.1 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.2228, allocations: 112.9 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.2228, allocations: 116.8 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.2229, allocations: 176.3 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.423e-05/0.2229, allocations: 188.2 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-05/0.223, allocations: 176.3 kB / 0.9042 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.2231, allocations: 425.2 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.2231, allocations: 104.9 kB / 0.9048 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.2232, allocations: 101 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.014e-05/0.2232, allocations: 192.2 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/0.2233, allocations: 180.3 kB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.833e-05/0.2233, allocations: 180.2 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.097e-05/0.2233, allocations: 180.2 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.879e-05/0.2234, allocations: 315.7 kB / 0.9058 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.2235, allocations: 190 kB / 0.906 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.2235, allocations: 176.5 kB / 0.9062 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.2236, allocations: 116.8 kB / 0.9063 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.2236, allocations: 188.2 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.2237, allocations: 109 kB / 0.9066 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.185e-05/0.2237, allocations: 135.2 kB / 0.9067 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2237, allocations: 0 / 0.9067 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002077/0.2239, allocations: 4 kB / 0.9067 GB, free: 57.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002997/0.2243, allocations: 0.8048 MB / 0.9075 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.888e-05/0.2243, allocations: 19.94 kB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2243, allocations: 0 / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.2243, allocations: 0 / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2247, allocations: 0.5263 MB / 0.908 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.2253, allocations: 0.6015 MB / 0.9086 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.2255, allocations: 0.6887 MB / 0.9093 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.2255, allocations: 7.984 kB / 0.9093 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.2256, allocations: 19.44 kB / 0.9093 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.2256, allocations: 4 kB / 0.9093 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.2379, allocations: 1.392 MB / 0.9107 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.2381, allocations: 211 kB / 0.9109 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.752, allocations: 0 / 0.9109 GB, free: 52.9 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)