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.765/0.765, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.0011/0.0011, allocations: 187.8 kB / 182.2 MB, free: 9.465 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.323/1.323, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008977/0.0008976, allocations: 86.56 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001746/0.001746, allocations: 273.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.392e-05/1.403e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4781, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.6208, allocations: 110 MB / 0.8647 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.6211, allocations: 75.84 kB / 0.8648 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.6357, allocations: 5.266 MB / 0.87 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6357, allocations: 7.938 kB / 0.87 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.6358, allocations: 0 / 0.87 GB, free: 12.58 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.0004161/0.6362, allocations: 438.5 kB / 0.8704 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6362, allocations: 8.031 kB / 0.8704 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.6363, allocations: 23.72 kB / 0.8704 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.6364, allocations: 179 kB / 0.8706 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.6364, allocations: 15.95 kB / 0.8706 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.6365, allocations: 23.98 kB / 0.8706 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001557/0.6381, allocations: 1.129 MB / 0.8717 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.6387, allocations: 457.7 kB / 0.8722 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6387, allocations: 0 / 0.8722 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.6388, allocations: 0 / 0.8722 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.6388, allocations: 8 kB / 0.8722 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.6404, allocations: 1.26 MB / 0.8734 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.6407, allocations: 231.5 kB / 0.8736 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.6409, allocations: 105.4 kB / 0.8737 GB, free: 8.551 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.6512, allocations: 5.483 MB / 0.8791 GB, free: 2.375 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.6513, allocations: 42.56 kB / 0.8791 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.6513, allocations: 0 / 0.8791 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30): time 0.0007147/0.652, allocations: 241.8 kB / 0.8793 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.652, allocations: 55.41 kB / 0.8794 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.6522, allocations: 166.7 kB / 0.8796 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.6522, allocations: 25.7 kB / 0.8796 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.6523, allocations: 183.9 kB / 0.8798 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.6524, allocations: 98.47 kB / 0.8799 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.6524, allocations: 0 / 0.8799 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6526, allocations: 334.8 kB / 0.8802 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.6527, allocations: 85.08 kB / 0.8803 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.653, allocations: 264.3 kB / 0.8805 GB, free: 0.7734 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.6534, allocations: 152.1 kB / 0.8806 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6534, allocations: 0 / 0.8806 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008412/0.6543, allocations: 396.8 kB / 0.881 GB, free: 236 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6543, allocations: 4.812 kB / 0.881 GB, free: 232 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.6543, allocations: 11.94 kB / 0.881 GB, free: 220 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.6544, allocations: 12 kB / 0.8811 GB, free: 208 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003811/0.6547, allocations: 127.8 kB / 0.8812 GB, free: 80 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.6548, allocations: 19.86 kB / 0.8812 GB, free: 60 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.655, allocations: 39.53 kB / 0.8812 GB, free: 20 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.6551, allocations: 55.98 kB / 0.8813 GB, free: 15.96 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.0001138/0.6552, allocations: 121.7 kB / 0.8814 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.6552, allocations: 19.77 kB / 0.8814 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007744/0.656, allocations: 297.6 kB / 0.8817 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.656, allocations: 4 kB / 0.8817 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.656, allocations: 0 / 0.8817 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6561, allocations: 7.969 kB / 0.8817 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.6564, allocations: 253.9 kB / 0.882 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6564, allocations: 0 / 0.882 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.6566, allocations: 75.94 kB / 0.882 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6566, allocations: 0 / 0.882 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.6567, allocations: 11.98 kB / 0.882 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.6567, allocations: 11.95 kB / 0.8821 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6567, allocations: 0 / 0.8821 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.6574, allocations: 355.4 kB / 0.8824 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.6574, allocations: 104.7 kB / 0.8825 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.6575, allocations: 3.984 kB / 0.8825 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.6576, allocations: 4 kB / 0.8825 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.6577, allocations: 31.92 kB / 0.8825 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.6577, allocations: 43.97 kB / 0.8826 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.6578, allocations: 119.3 kB / 0.8827 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6578, allocations: 0 / 0.8827 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004278/0.6583, allocations: 75.92 kB / 0.8828 GB, free: 14.37 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.0002876/0.6586, allocations: 168.2 kB / 0.8829 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.6589, allocations: 255.6 kB / 0.8832 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.659, allocations: 0 / 0.8832 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.6591, allocations: 121.4 kB / 0.8833 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.6593, allocations: 9.094 kB / 0.8833 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.6598, allocations: 322.4 kB / 0.8836 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.6601, allocations: 0.7606 MB / 0.8843 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007207/0.6609, allocations: 228.3 kB / 0.8846 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.6611, allocations: 71.39 kB / 0.8846 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of SimCode: time 2.91e-07/0.6611, allocations: 3.938 kB / 0.8846 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.005238/0.6664, allocations: 2.518 MB / 0.8871 GB, free: 9.914 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)