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 0.9143/0.9143, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 186 kB / 187.3 MB, free: 11.89 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.337/1.337, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.000891/0.0008911, allocations: 100.8 kB / 0.5124 GB, free: 24.1 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 270.1 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.227e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3562, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.4634, allocations: 110.6 MB / 0.8723 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.4636, allocations: 76.42 kB / 0.8724 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.4786, allocations: 5.384 MB / 0.8776 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4787, allocations: 0 / 0.8776 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.4787, allocations: 4 kB / 0.8776 GB, free: 8.48 MB / 0.5417 GB 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.0003939/0.4791, allocations: 442.5 kB / 0.878 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4791, allocations: 8.031 kB / 0.8781 GB, free: 7.996 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.4792, allocations: 27.7 kB / 0.8781 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.4793, allocations: 183 kB / 0.8783 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.4793, allocations: 24.52 kB / 0.8783 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.4794, allocations: 28 kB / 0.8783 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007053/0.4801, allocations: 486.9 kB / 0.8788 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4801, allocations: 0 / 0.8788 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.4802, allocations: 8 kB / 0.8788 GB, free: 7.191 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4802, allocations: 12 kB / 0.8788 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.4818, allocations: 1.157 MB / 0.8799 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.4834, allocations: 1.304 MB / 0.8812 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/0.4838, allocations: 251.7 kB / 0.8814 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.484, allocations: 109.5 kB / 0.8815 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.494, allocations: 5.503 MB / 0.8869 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.4941, allocations: 38.56 kB / 0.8869 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.4941, allocations: 0 / 0.8869 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30): time 0.0004794/0.4946, allocations: 251.1 kB / 0.8872 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4946, allocations: 55.41 kB / 0.8872 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4948, allocations: 164.3 kB / 0.8874 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.4948, allocations: 33.62 kB / 0.8874 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.4949, allocations: 187.6 kB / 0.8876 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.719e-05/0.495, allocations: 102.5 kB / 0.8877 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.495, allocations: 8 kB / 0.8877 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4952, allocations: 330.8 kB / 0.888 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.4953, allocations: 97.09 kB / 0.8881 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.4956, allocations: 277.4 kB / 0.8884 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.4958, allocations: 156.1 kB / 0.8885 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4959, allocations: 7.953 kB / 0.8885 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006195/0.4965, allocations: 433 kB / 0.889 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4965, allocations: 9.25 kB / 0.889 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4965, allocations: 4 kB / 0.889 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.4966, allocations: 12 kB / 0.889 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.4969, allocations: 123.8 kB / 0.8891 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.268e-05/0.497, allocations: 16.47 kB / 0.8891 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.4972, allocations: 47.53 kB / 0.8892 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.4973, allocations: 59.97 kB / 0.8892 GB, free: 11.58 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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 0.0001087/0.4974, allocations: 132.8 kB / 0.8893 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.4974, allocations: 23.75 kB / 0.8894 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/0.498, allocations: 313.2 kB / 0.8897 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.498, allocations: 11.98 kB / 0.8897 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.498, allocations: 0 / 0.8897 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.498, allocations: 0 / 0.8897 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.4984, allocations: 293.4 kB / 0.89 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4984, allocations: 0 / 0.89 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.4987, allocations: 83.83 kB / 0.89 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4987, allocations: 0 / 0.89 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.4987, allocations: 19.98 kB / 0.8901 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4987, allocations: 0 / 0.8901 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4987, allocations: 0 / 0.8901 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.4992, allocations: 371.1 kB / 0.8904 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.4992, allocations: 96.8 kB / 0.8905 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.4993, allocations: 15.94 kB / 0.8905 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.4994, allocations: 8 kB / 0.8905 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.4995, allocations: 23.97 kB / 0.8905 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.031e-05/0.4995, allocations: 47.97 kB / 0.8906 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.333e-05/0.4996, allocations: 120.1 kB / 0.8907 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4996, allocations: 0 / 0.8907 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000423/0.5001, allocations: 95.83 kB / 0.8908 GB, free: 9.871 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0002739/0.5004, allocations: 163.1 kB / 0.891 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.5008, allocations: 287.6 kB / 0.8912 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5008, allocations: 0 / 0.8912 GB, free: 9.418 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.501, allocations: 116.4 kB / 0.8913 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.5012, allocations: 13.56 kB / 0.8914 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005418/0.5017, allocations: 347.6 kB / 0.8917 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.502, allocations: 0.7683 MB / 0.8924 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007098/0.5027, allocations: 225.6 kB / 0.8926 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.503, allocations: 71.39 kB / 0.8927 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of SimCode: time 3.11e-07/0.503, allocations: 0 / 0.8927 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of Templates: time 0.005856/0.5088, allocations: 3.089 MB / 0.8957 GB, free: 4.793 MB / 0.5573 GB 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)