Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008065, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.000836/0.0008361, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001714, allocations: 278.1 kB / 291.4 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9569/0.9569, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004157, allocations: 10.94 kB / 0.598 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1894, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002174/0.1916, allocations: 1.279 MB / 0.6857 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.1931, allocations: 0.6202 MB / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.166e-05/0.1931, allocations: 0 / 0.6863 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1933, allocations: 43.75 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.1938, allocations: 135.5 kB / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.031e-05/0.1939, allocations: 7.938 kB / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.1942, allocations: 263.2 kB / 0.6868 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.568e-05/0.1943, allocations: 5.719 kB / 0.6868 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1945, allocations: 88.3 kB / 0.6868 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1947, allocations: 97.34 kB / 0.6869 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.1947, allocations: 4 kB / 0.6869 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.195, allocations: 107.8 kB / 0.687 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1951, allocations: 73.25 kB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.1952, allocations: 49.64 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.1955, allocations: 167.8 kB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1955, allocations: 0 / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1955, allocations: 0.75 kB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1955, allocations: 0 / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0005787/0.1961, allocations: 436 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1962, allocations: 8.031 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.1963, allocations: 16.38 kB / 0.6878 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1964, allocations: 182.8 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1965, allocations: 13.7 kB / 0.6879 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.1965, allocations: 19.98 kB / 0.688 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.1972, allocations: 348.6 kB / 0.6883 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1973, allocations: 3.984 kB / 0.6883 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.1973, allocations: 11.98 kB / 0.6883 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.1975, allocations: 64.77 kB / 0.6884 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.1979, allocations: 218.3 kB / 0.6886 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.1999, allocations: 0.9953 MB / 0.6896 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.2002, allocations: 208.7 kB / 0.6898 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.2005, allocations: 110.1 kB / 0.6899 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.2005, allocations: 0 / 0.6899 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.2005, allocations: 48.11 kB / 0.6899 GB, free: 9.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.833e-06/0.2005, allocations: 0 / 0.6899 GB, free: 9.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008282/0.2014, allocations: 362.5 kB / 0.6903 GB, free: 9.301 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.2014, allocations: 56.34 kB / 0.6903 GB, free: 9.234 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.2016, allocations: 152 kB / 0.6905 GB, free: 9.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.2017, allocations: 25.7 kB / 0.6905 GB, free: 9.047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2018, allocations: 160 kB / 0.6906 GB, free: 8.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2019, allocations: 126.1 kB / 0.6907 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.202, allocations: 8 kB / 0.6908 GB, free: 8.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2021, allocations: 330.8 kB / 0.6911 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.2024, allocations: 104.5 kB / 0.6912 GB, free: 8.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.2027, allocations: 234.7 kB / 0.6914 GB, free: 8.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.203, allocations: 164.7 kB / 0.6916 GB, free: 7.879 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2031, allocations: 4 kB / 0.6916 GB, free: 7.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000789/0.2038, allocations: 384.8 kB / 0.6919 GB, free: 7.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.2039, allocations: 4.531 kB / 0.6919 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.2039, allocations: 11.95 kB / 0.6919 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.2039, allocations: 8 kB / 0.6919 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.2041, allocations: 35.92 kB / 0.692 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.2042, allocations: 8 kB / 0.692 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.2044, allocations: 35.53 kB / 0.692 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.2044, allocations: 31.97 kB / 0.6921 GB, free: 7.359 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (32): * Single equations (assignments): 20 * Array equations: 12 * 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 0.0001975/0.2046, allocations: 158.3 kB / 0.6922 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.2047, allocations: 15.72 kB / 0.6922 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005575/0.2053, allocations: 283.1 kB / 0.6925 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001074/0.2054, allocations: 27.94 kB / 0.6925 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.2054, allocations: 4 kB / 0.6925 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2054, allocations: 0 / 0.6925 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.2067, allocations: 0.6228 MB / 0.6931 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2067, allocations: 4 kB / 0.6931 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.2068, allocations: 11.98 kB / 0.6931 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.2068, allocations: 3.953 kB / 0.6931 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.2069, allocations: 4 kB / 0.6931 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2069, allocations: 4 kB / 0.6932 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2069, allocations: 0 / 0.6932 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006005/0.2075, allocations: 392.5 kB / 0.6935 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.973e-05/0.2076, allocations: 104.8 kB / 0.6936 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.2076, allocations: 7.953 kB / 0.6936 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2078, allocations: 3.984 kB / 0.6936 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.2078, allocations: 11.98 kB / 0.6937 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.2079, allocations: 19.98 kB / 0.6937 GB, free: 5.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.611e-05/0.208, allocations: 107.3 kB / 0.6938 GB, free: 5.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.208, allocations: 3.938 kB / 0.6938 GB, free: 5.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000669/0.2087, allocations: 67.83 kB / 0.6938 GB, free: 5.418 MB / 494.1 MB 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 (17): * Single equations (assignments): 5 * Array equations: 12 * 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.0002355/0.2089, allocations: 117.2 kB / 0.694 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000556/0.2095, allocations: 272.5 kB / 0.6942 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2095, allocations: 4.062 kB / 0.6942 GB, free: 5.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.2097, allocations: 130.4 kB / 0.6943 GB, free: 4.902 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.2102, allocations: 11.98 kB / 0.6944 GB, free: 4.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.2111, allocations: 0.5336 MB / 0.6949 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.2116, allocations: 0.7602 MB / 0.6956 GB, free: 3.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004857/0.2121, allocations: 77.5 kB / 0.6957 GB, free: 3.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.2123, allocations: 35.42 kB / 0.6957 GB, free: 3.434 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2123, allocations: 3.938 kB / 0.6957 GB, free: 3.43 MB / 494.1 MB Notification: Performance of Templates: time 0.005771/0.2181, allocations: 1.486 MB / 0.6972 GB, free: 1.953 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)