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.8783/0.8783, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001475/0.001475, allocations: 177 kB / 191.5 MB, free: 5.75 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.401/1.401, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0008282/0.0008282, allocations: 88.33 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001635/0.001635, allocations: 279.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004222, allocations: 14.34 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.153, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5785, allocations: 110.7 MB / 0.8818 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.5788, allocations: 80.48 kB / 0.8819 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.5932, allocations: 5.364 MB / 0.8871 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5933, allocations: 0.9844 kB / 0.8871 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.5933, allocations: 2.625 kB / 0.8871 GB, free: 107.9 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.0004132/0.5937, allocations: 457.2 kB / 0.8876 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5938, allocations: 10.53 kB / 0.8876 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.5938, allocations: 26.14 kB / 0.8876 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.548e-05/0.5939, allocations: 177 kB / 0.8878 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.594, allocations: 28.58 kB / 0.8878 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.594, allocations: 24.84 kB / 0.8878 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.5948, allocations: 495 kB / 0.8883 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5948, allocations: 0 / 0.8883 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.5949, allocations: 13.5 kB / 0.8883 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.5949, allocations: 6.344 kB / 0.8883 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.5966, allocations: 1.172 MB / 0.8894 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.5982, allocations: 1.305 MB / 0.8907 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.5986, allocations: 255.7 kB / 0.891 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009351/0.608, allocations: 5.507 MB / 0.8963 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.608, allocations: 32.19 kB / 0.8964 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=30): time 2.484e-06/0.6081, allocations: 0.8125 kB / 0.8964 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30): time 0.0006616/0.6087, allocations: 324.3 kB / 0.8967 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.6088, allocations: 59 kB / 0.8967 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.6089, allocations: 168 kB / 0.8969 GB, free: 102 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.6089, allocations: 30.95 kB / 0.8969 GB, free: 102 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.609, allocations: 185 kB / 0.8971 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.6091, allocations: 110.6 kB / 0.8972 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.6091, allocations: 9.125 kB / 0.8972 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.581e-05/0.6092, allocations: 331.9 kB / 0.8975 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.6093, allocations: 95.33 kB / 0.8976 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.6096, allocations: 283.9 kB / 0.8979 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.6099, allocations: 159.9 kB / 0.898 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6099, allocations: 1.594 kB / 0.898 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006337/0.6105, allocations: 451.3 kB / 0.8985 GB, free: 101 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6105, allocations: 8.438 kB / 0.8985 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.6106, allocations: 6.188 kB / 0.8985 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.6106, allocations: 9.906 kB / 0.8985 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.611, allocations: 125 kB / 0.8986 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.611, allocations: 8.25 kB / 0.8986 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.6112, allocations: 48.61 kB / 0.8987 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.6113, allocations: 57.3 kB / 0.8987 GB, free: 100.9 MB / 0.5417 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 () * Number of clocked 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.0001419/0.6115, allocations: 176.3 kB / 0.8989 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.6115, allocations: 20.7 kB / 0.8989 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005924/0.6121, allocations: 319 kB / 0.8992 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.6121, allocations: 7.906 kB / 0.8992 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6121, allocations: 0 / 0.8992 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6121, allocations: 5.156 kB / 0.8992 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.6125, allocations: 288.7 kB / 0.8995 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6125, allocations: 0 / 0.8995 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.6127, allocations: 83.22 kB / 0.8996 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6127, allocations: 5.391 kB / 0.8996 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.6128, allocations: 21.44 kB / 0.8996 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.6128, allocations: 2.5 kB / 0.8996 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6128, allocations: 0 / 0.8996 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.6132, allocations: 371.5 kB / 0.9 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.6133, allocations: 98.3 kB / 0.9001 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.6133, allocations: 10.64 kB / 0.9001 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.6134, allocations: 8.062 kB / 0.9001 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.6135, allocations: 28.36 kB / 0.9001 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.024e-05/0.6136, allocations: 41.45 kB / 0.9001 GB, free: 100 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.542e-05/0.6137, allocations: 127 kB / 0.9003 GB, free: 99.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6137, allocations: 0.5938 kB / 0.9003 GB, free: 99.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004958/0.6142, allocations: 88.69 kB / 0.9004 GB, free: 99.95 MB / 0.5417 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 (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.0002878/0.6145, allocations: 182.8 kB / 0.9005 GB, free: 99.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004501/0.6149, allocations: 286.9 kB / 0.9008 GB, free: 99.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6149, allocations: 0.9062 kB / 0.9008 GB, free: 99.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.6151, allocations: 125.4 kB / 0.9009 GB, free: 99.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.6153, allocations: 15.55 kB / 0.9009 GB, free: 99.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/0.616, allocations: 0.5038 MB / 0.9014 GB, free: 99.41 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.6162, allocations: 0.7659 MB / 0.9022 GB, free: 98.66 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007016/0.617, allocations: 226.3 kB / 0.9024 GB, free: 98.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.6172, allocations: 70.55 kB / 0.9025 GB, free: 98.53 MB / 0.5417 GB Notification: Performance of SimCode: time 6.62e-07/0.6172, allocations: 0 / 0.9025 GB, free: 98.53 MB / 0.5417 GB Notification: Performance of Templates: time 0.005875/0.6231, allocations: 2.916 MB / 0.9053 GB, free: 97.12 MB / 0.5417 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)