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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 188.5 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 447.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009733, allocations: 103.8 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 281.2 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 79.89 kB / 0.6885 GB, free: 3.855 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.293, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002177/0.2952, allocations: 1.657 MB / 0.7695 GB, free: 26.01 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008795/0.2961, allocations: 0.6954 MB / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.2962, allocations: 0 / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.2964, allocations: 54.45 kB / 0.7703 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.2967, allocations: 151.5 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.158e-05/0.2967, allocations: 4 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.2969, allocations: 331.1 kB / 0.7707 GB, free: 24.78 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.2969, allocations: 9.125 kB / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-05/0.297, allocations: 71.7 kB / 0.7708 GB, free: 24.7 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2972, allocations: 103.6 kB / 0.7709 GB, free: 24.6 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.2972, allocations: 8 kB / 0.7709 GB, free: 24.59 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2974, allocations: 131.7 kB / 0.771 GB, free: 24.46 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.2974, allocations: 75.78 kB / 0.7711 GB, free: 24.39 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.2975, allocations: 79.48 kB / 0.7712 GB, free: 24.31 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.2977, allocations: 239.1 kB / 0.7714 GB, free: 24.08 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2977, allocations: 0 / 0.7714 GB, free: 24.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2977, allocations: 0 / 0.7714 GB, free: 24.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.2977, allocations: 4 kB / 0.7714 GB, free: 24.07 MB / 458.7 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.0003938/0.2981, allocations: 471.8 kB / 0.7719 GB, free: 23.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2982, allocations: 12.03 kB / 0.7719 GB, free: 23.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.2982, allocations: 12.75 kB / 0.7719 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.007e-05/0.2983, allocations: 176.2 kB / 0.7721 GB, free: 23.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2983, allocations: 16.3 kB / 0.7721 GB, free: 23.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.2983, allocations: 16.38 kB / 0.7721 GB, free: 23.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.2987, allocations: 350.9 kB / 0.7724 GB, free: 22.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2987, allocations: 0 / 0.7724 GB, free: 22.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.2987, allocations: 15.92 kB / 0.7724 GB, free: 22.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.2988, allocations: 60.27 kB / 0.7725 GB, free: 22.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.299, allocations: 217.1 kB / 0.7727 GB, free: 22.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3001, allocations: 1.003 MB / 0.7737 GB, free: 21.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.3003, allocations: 215.9 kB / 0.7739 GB, free: 21.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.3004, allocations: 109.2 kB / 0.774 GB, free: 21.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.3004, allocations: 4 kB / 0.774 GB, free: 21.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.3004, allocations: 34.56 kB / 0.774 GB, free: 21.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 1.502e-06/0.3005, allocations: 0 / 0.774 GB, free: 21.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004023/0.3009, allocations: 374.2 kB / 0.7744 GB, free: 20.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.3009, allocations: 55.34 kB / 0.7744 GB, free: 20.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.301, allocations: 159.3 kB / 0.7746 GB, free: 20.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.301, allocations: 25.7 kB / 0.7746 GB, free: 20.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.301, allocations: 148.1 kB / 0.7748 GB, free: 20.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.3011, allocations: 134 kB / 0.7749 GB, free: 20.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.3012, allocations: 77.56 kB / 0.775 GB, free: 20.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.3012, allocations: 326.8 kB / 0.7753 GB, free: 19.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3013, allocations: 108.5 kB / 0.7754 GB, free: 19.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3015, allocations: 227.3 kB / 0.7756 GB, free: 19.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.3018, allocations: 392 kB / 0.776 GB, free: 19.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3018, allocations: 0 / 0.776 GB, free: 19.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003647/0.3021, allocations: 389.2 kB / 0.7763 GB, free: 18.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3022, allocations: 8 kB / 0.7763 GB, free: 18.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3022, allocations: 4 kB / 0.7763 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3022, allocations: 4 kB / 0.7763 GB, free: 18.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3023, allocations: 35.92 kB / 0.7764 GB, free: 18.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.3023, allocations: 15.88 kB / 0.7764 GB, free: 18.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3024, allocations: 39.47 kB / 0.7764 GB, free: 18.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.111e-05/0.3025, allocations: 31.97 kB / 0.7765 GB, free: 18.52 MB / 458.7 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 8.616e-05/0.3026, allocations: 162.1 kB / 0.7766 GB, free: 18.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3026, allocations: 15.81 kB / 0.7766 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.3029, allocations: 283 kB / 0.7769 GB, free: 18.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.265e-05/0.303, allocations: 19.98 kB / 0.7769 GB, free: 18.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.303, allocations: 7.875 kB / 0.7769 GB, free: 18.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.303, allocations: 4 kB / 0.7769 GB, free: 18.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.3037, allocations: 0.6277 MB / 0.7775 GB, free: 17.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.3037, allocations: 3.984 kB / 0.7776 GB, free: 17.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.3037, allocations: 12 kB / 0.7776 GB, free: 17.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3037, allocations: 7.938 kB / 0.7776 GB, free: 17.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3037, allocations: 4 kB / 0.7776 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3037, allocations: 0 / 0.7776 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3038, allocations: 0 / 0.7776 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.3043, allocations: 1.048 MB / 0.7786 GB, free: 16.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.825e-05/0.3043, allocations: 92.86 kB / 0.7787 GB, free: 16.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3043, allocations: 15.94 kB / 0.7787 GB, free: 16.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.3044, allocations: 3.984 kB / 0.7787 GB, free: 16.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.3044, allocations: 15.89 kB / 0.7787 GB, free: 16.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.3045, allocations: 23.92 kB / 0.7787 GB, free: 16.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.97e-05/0.3045, allocations: 104.8 kB / 0.7788 GB, free: 15.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3045, allocations: 0 / 0.7788 GB, free: 15.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.3049, allocations: 59.92 kB / 0.7789 GB, free: 15.88 MB / 458.7 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.0002266/0.3052, allocations: 147.1 kB / 0.779 GB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.3055, allocations: 275.2 kB / 0.7793 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3055, allocations: 5.062 kB / 0.7793 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.3056, allocations: 124.7 kB / 0.7794 GB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3058, allocations: 15.89 kB / 0.7794 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.3065, allocations: 0.8038 MB / 0.7802 GB, free: 14.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.3066, allocations: 0.7759 MB / 0.781 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002643/0.3069, allocations: 77.48 kB / 0.7811 GB, free: 13.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.307, allocations: 39.42 kB / 0.7811 GB, free: 13.55 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.307, allocations: 0 / 0.7811 GB, free: 13.55 MB / 458.7 MB Notification: Performance of Templates: time 0.003325/0.3104, allocations: 1.536 MB / 0.7826 GB, free: 12.02 MB / 458.7 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)