Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.4 MB / 303.3 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 176.5 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 0.6307 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006903/0.0006902, allocations: 95.27 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 12.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0007192/0.2102, allocations: 375.2 kB / 0.98 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001102/0.2104, allocations: 11.98 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.2104, allocations: 0 / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.088e-05/0.2105, allocations: 3.938 kB / 0.98 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.213e-05/0.2105, allocations: 0 / 0.98 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6e-05/0.2106, allocations: 8 kB / 0.98 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.2107, allocations: 23.92 kB / 0.9801 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2108, allocations: 27.97 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/0.2108, allocations: 11.94 kB / 0.9801 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.795e-05/0.2108, allocations: 11.94 kB / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2109, allocations: 0 / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-06/0.2109, allocations: 0 / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.2109, allocations: 4 kB / 0.9801 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.2109, allocations: 33.64 kB / 0.9802 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.82e-05/0.211, allocations: 43.91 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.211, allocations: 0 / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.211, allocations: 0 / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.211, allocations: 0 / 0.9802 GB, free: 27 MB / 0.6198 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.0002398/0.2113, allocations: 343.5 kB / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2113, allocations: 16.02 kB / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.2113, allocations: 34.56 kB / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.2114, allocations: 3.906 kB / 0.9806 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2115, allocations: 183 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2115, allocations: 7.938 kB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2115, allocations: 8 kB / 0.9808 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2117, allocations: 73.66 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2117, allocations: 3.938 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2117, allocations: 0 / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2117, allocations: 4 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.981e-05/0.2118, allocations: 51.97 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.2121, allocations: 491.1 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.2122, allocations: 165.1 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.2122, allocations: 80.14 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2122, allocations: 79.28 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2122, allocations: 117.8 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.2123, allocations: 0 / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.014e-05/0.2123, allocations: 37.55 kB / 0.9818 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.2124, allocations: 130.7 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.2125, allocations: 171 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-06/0.2125, allocations: 25.7 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.2125, allocations: 100 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.2125, allocations: 0 / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.2125, allocations: 0 / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.2126, allocations: 322.8 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.2126, allocations: 8 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066e-05/0.2126, allocations: 7.984 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.215e-05/0.2127, allocations: 7.984 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2127, allocations: 0 / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.974e-05/0.2128, allocations: 57.62 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.2128, allocations: 8 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2128, allocations: 3.953 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2128, allocations: 0 / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.2129, allocations: 4 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2129, allocations: 0 / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.2129, allocations: 7.938 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.2129, allocations: 0 / 0.9826 GB, free: 24.27 MB / 0.6198 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 5.87e-05/0.213, allocations: 197.1 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.213, allocations: 116.9 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.653e-05/0.213, allocations: 124.6 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.2131, allocations: 180.2 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/0.2131, allocations: 180.2 kB / 0.9834 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.2131, allocations: 180.2 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.2133, allocations: 425.2 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.2133, allocations: 104.9 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.2133, allocations: 101.1 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.472e-05/0.2133, allocations: 189 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.2134, allocations: 176.3 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.738e-05/0.2134, allocations: 188.2 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-05/0.2134, allocations: 188.2 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.464e-05/0.2135, allocations: 303.8 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.2136, allocations: 198.2 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.2136, allocations: 176.3 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.2137, allocations: 105 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.2137, allocations: 192.2 kB / 0.9858 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.2137, allocations: 108.9 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.2138, allocations: 128.5 kB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2138, allocations: 0 / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002047/0.214, allocations: 4 kB / 0.986 GB, free: 20.56 MB / 0.6198 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.0002345/0.2142, allocations: 0.8126 MB / 0.9868 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.452e-05/0.2143, allocations: 19.92 kB / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2143, allocations: 0 / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.2143, allocations: 0 / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.2146, allocations: 0.5316 MB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.2152, allocations: 0.5751 MB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.2153, allocations: 0.6967 MB / 0.9886 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.301e-05/0.2154, allocations: 11.94 kB / 0.9886 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.2154, allocations: 15.42 kB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2154, allocations: 0 / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01033/0.2257, allocations: 1.403 MB / 0.99 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.226, allocations: 203.1 kB / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.74, allocations: 7.531 kB / 0.9902 GB, free: 16.32 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)