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.001319/0.001326, allocations: 117.8 kB / 16.37 MB, free: 6 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.00113/0.00113, allocations: 193.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002437/0.002436, allocations: 287 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.001731, allocations: 94.44 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2021, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002753/0.2049, allocations: 1.589 MB / 0.6832 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.206, allocations: 0.6667 MB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.539e-05/0.2061, allocations: 4 kB / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2063, allocations: 71.59 kB / 0.6839 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003703/0.2067, allocations: 171.4 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.159e-05/0.2067, allocations: 0 / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.2069, allocations: 179.3 kB / 0.6842 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.207, allocations: 13.09 kB / 0.6842 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2071, allocations: 71.75 kB / 0.6843 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.2072, allocations: 91.64 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2073, allocations: 12 kB / 0.6844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.2075, allocations: 119.8 kB / 0.6845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.234e-05/0.2076, allocations: 71.78 kB / 0.6846 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.2077, allocations: 79.42 kB / 0.6846 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.2079, allocations: 243.2 kB / 0.6849 GB, free: 4.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2079, allocations: 0 / 0.6849 GB, free: 4.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.208, allocations: 0 / 0.6849 GB, free: 4.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.208, allocations: 0 / 0.6849 GB, free: 4.082 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.0004935/0.2085, allocations: 455 kB / 0.6853 GB, free: 3.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2085, allocations: 12.02 kB / 0.6853 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.2086, allocations: 24.66 kB / 0.6854 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2087, allocations: 184.1 kB / 0.6855 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2087, allocations: 16.36 kB / 0.6855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.2087, allocations: 12.36 kB / 0.6856 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.2091, allocations: 355.2 kB / 0.6859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2092, allocations: 8 kB / 0.6859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.2092, allocations: 7.922 kB / 0.6859 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.2093, allocations: 64.28 kB / 0.686 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.2096, allocations: 217 kB / 0.6862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2109, allocations: 0.9986 MB / 0.6872 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.2112, allocations: 208 kB / 0.6873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.2113, allocations: 109.1 kB / 0.6875 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2113, allocations: 0 / 0.6875 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2114, allocations: 38.56 kB / 0.6875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.202e-06/0.2114, allocations: 3.938 kB / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005314/0.2119, allocations: 370.5 kB / 0.6878 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.212, allocations: 55.41 kB / 0.6879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2121, allocations: 145.7 kB / 0.688 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2121, allocations: 25.7 kB / 0.6881 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.2122, allocations: 156.1 kB / 0.6882 GB, free: 424 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/0.2123, allocations: 130.1 kB / 0.6883 GB, free: 292 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.503e-05/0.2124, allocations: 73.56 kB / 0.6884 GB, free: 212 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.3467/0.5591, allocations: 335.5 kB / 0.6887 GB, free: 18.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.5594, allocations: 102.7 kB / 0.6888 GB, free: 18.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.5597, allocations: 229.6 kB / 0.689 GB, free: 17.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.5602, allocations: 395.8 kB / 0.6894 GB, free: 17.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.5602, allocations: 0.8125 kB / 0.6894 GB, free: 17.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006173/0.5608, allocations: 395.8 kB / 0.6898 GB, free: 17.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.5609, allocations: 8.766 kB / 0.6898 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5609, allocations: 4.125 kB / 0.6898 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.5609, allocations: 6.188 kB / 0.6898 GB, free: 17.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.5611, allocations: 37.69 kB / 0.6899 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.5611, allocations: 12.91 kB / 0.6899 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.5612, allocations: 33.3 kB / 0.6899 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.5613, allocations: 31.91 kB / 0.6899 GB, free: 17.75 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.5615, allocations: 160 kB / 0.6901 GB, free: 17.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.5615, allocations: 19.06 kB / 0.6901 GB, free: 17.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.5619, allocations: 277.6 kB / 0.6904 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.058e-05/0.562, allocations: 30.33 kB / 0.6904 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.562, allocations: 0.5625 kB / 0.6904 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5621, allocations: 2.438 kB / 0.6904 GB, free: 17.58 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.5629, allocations: 0.6272 MB / 0.691 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5629, allocations: 4.531 kB / 0.691 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.563, allocations: 10 kB / 0.691 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.563, allocations: 0.9688 kB / 0.691 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.563, allocations: 7.938 kB / 0.691 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.563, allocations: 1.094 kB / 0.691 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.563, allocations: 0.5156 kB / 0.691 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.5634, allocations: 391.4 kB / 0.6914 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.5635, allocations: 107.2 kB / 0.6915 GB, free: 17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.5635, allocations: 12.08 kB / 0.6915 GB, free: 17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.5636, allocations: 1.156 kB / 0.6915 GB, free: 17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.5636, allocations: 19.33 kB / 0.6915 GB, free: 17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.5637, allocations: 16.95 kB / 0.6916 GB, free: 17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.427e-05/0.5638, allocations: 107.5 kB / 0.6917 GB, free: 16.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5638, allocations: 0.875 kB / 0.6917 GB, free: 16.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.5642, allocations: 62.06 kB / 0.6917 GB, free: 16.92 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 (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.0002914/0.5645, allocations: 134.7 kB / 0.6918 GB, free: 16.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.5649, allocations: 288 kB / 0.6921 GB, free: 16.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5649, allocations: 0.7812 kB / 0.6921 GB, free: 16.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.5651, allocations: 125.7 kB / 0.6922 GB, free: 16.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.5653, allocations: 18.5 kB / 0.6923 GB, free: 16.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.566, allocations: 459.7 kB / 0.6927 GB, free: 16.54 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.5662, allocations: 0.7629 MB / 0.6934 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.5665, allocations: 79.17 kB / 0.6935 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.5666, allocations: 38.95 kB / 0.6936 GB, free: 15.81 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5666, allocations: 0 / 0.6936 GB, free: 15.81 MB / 494.1 MB Notification: Performance of Templates: time 0.004796/0.5714, allocations: 1.536 MB / 0.6951 GB, free: 15.69 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)