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.272/1.272, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009364/0.0009363, allocations: 169.8 kB / 325.8 MB, free: 2.699 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.435/1.435, allocations: 205 MB / 0.576 GB, free: 21 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.0007107/0.0007107, allocations: 87.09 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 11.84 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0007269/0.1871, allocations: 416.6 kB / 0.8966 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.1872, allocations: 11.98 kB / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.1872, allocations: 0 / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1873, allocations: 3.938 kB / 0.8966 GB, free: 67.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.076e-05/0.1874, allocations: 3.938 kB / 0.8966 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.554e-05/0.1874, allocations: 8 kB / 0.8966 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.244e-05/0.1875, allocations: 19.92 kB / 0.8967 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1876, allocations: 36.2 kB / 0.8967 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.1877, allocations: 7.938 kB / 0.8967 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.336e-05/0.1877, allocations: 15.92 kB / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1877, allocations: 0 / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.1877, allocations: 0 / 0.8967 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.1877, allocations: 11.94 kB / 0.8967 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.1878, allocations: 15.88 kB / 0.8967 GB, free: 67.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.031e-05/0.1879, allocations: 39.86 kB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1879, allocations: 4 kB / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1879, allocations: 0 / 0.8968 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1879, allocations: 0 / 0.8968 GB, free: 67.48 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.0002295/0.1881, allocations: 331.5 kB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1882, allocations: 19.97 kB / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.1882, allocations: 30.75 kB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.1882, allocations: 8.844 kB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1884, allocations: 180.3 kB / 0.8973 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.1884, allocations: 4.375 kB / 0.8973 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.1884, allocations: 4.375 kB / 0.8973 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1885, allocations: 90.09 kB / 0.8974 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1886, allocations: 3.938 kB / 0.8974 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1886, allocations: 0 / 0.8974 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1886, allocations: 0 / 0.8974 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.008e-05/0.1886, allocations: 51.97 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.189, allocations: 487 kB / 0.8979 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.1891, allocations: 169.1 kB / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.1891, allocations: 80.14 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1891, allocations: 80.12 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1891, allocations: 109.8 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1891, allocations: 4 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.606e-05/0.1892, allocations: 33.66 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1893, allocations: 134.6 kB / 0.8985 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1894, allocations: 180.5 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.1894, allocations: 25.7 kB / 0.8987 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.1894, allocations: 104 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.1894, allocations: 0 / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.1895, allocations: 9.719 kB / 0.8988 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.1895, allocations: 322.8 kB / 0.8991 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.1895, allocations: 4 kB / 0.8991 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.185e-05/0.1896, allocations: 11.98 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.1896, allocations: 12.8 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1896, allocations: 0 / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.982e-05/0.1897, allocations: 57.73 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1897, allocations: 4 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1897, allocations: 0 / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1897, allocations: 0 / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.1898, allocations: 7.938 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1898, allocations: 0 / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.1898, allocations: 7.906 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.1898, allocations: 0 / 0.8992 GB, free: 64.72 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 5.863e-05/0.1899, allocations: 201.1 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.19, allocations: 112.9 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.19, allocations: 116.8 kB / 0.8997 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.19, allocations: 188.1 kB / 0.8998 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/0.19, allocations: 176.3 kB / 0.9 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.1901, allocations: 176.3 kB / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1902, allocations: 433.1 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.1903, allocations: 101 kB / 0.9007 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.323e-05/0.1903, allocations: 104.9 kB / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.312e-05/0.1903, allocations: 176.3 kB / 0.9009 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.1903, allocations: 180.3 kB / 0.9011 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-05/0.1904, allocations: 193 kB / 0.9013 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.478e-05/0.1904, allocations: 184.2 kB / 0.9015 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.07e-05/0.1905, allocations: 307.7 kB / 0.9018 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.1905, allocations: 190 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.1906, allocations: 184.2 kB / 0.9021 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.1906, allocations: 113.2 kB / 0.9022 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.1907, allocations: 184.1 kB / 0.9024 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1907, allocations: 105 kB / 0.9025 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.946e-05/0.1908, allocations: 133.7 kB / 0.9026 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1908, allocations: 0 / 0.9026 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002126/0.191, allocations: 4 kB / 0.9026 GB, free: 61.01 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.0002501/0.1912, allocations: 0.8242 MB / 0.9034 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.171e-05/0.1913, allocations: 15.98 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1913, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.1913, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.1916, allocations: 0.5302 MB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.1926, allocations: 1.597 MB / 0.9055 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.1927, allocations: 0.6926 MB / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.1927, allocations: 12 kB / 0.9062 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.1928, allocations: 15.42 kB / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1928, allocations: 0 / 0.9062 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/0.3024, allocations: 1.408 MB / 0.9076 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.3027, allocations: 224.8 kB / 0.9078 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/1.802, allocations: 0 / 0.9078 GB, free: 55.68 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)