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.001067/0.001067, allocations: 107 kB / 16.36 MB, free: 6.336 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.001248/0.001248, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 293.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9293/0.9293, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 98.5 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1381, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002443/0.1405, allocations: 1.589 MB / 0.6831 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000997/0.1415, allocations: 0.6667 MB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.1416, allocations: 4 kB / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.1418, allocations: 71.59 kB / 0.6839 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.1422, allocations: 167.4 kB / 0.684 GB, free: 4.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.479e-05/0.1422, allocations: 7.984 kB / 0.684 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.1424, allocations: 179.2 kB / 0.6842 GB, free: 4.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.1424, allocations: 13.11 kB / 0.6842 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1426, allocations: 75.73 kB / 0.6843 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1427, allocations: 91.64 kB / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1427, allocations: 8 kB / 0.6844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.1429, allocations: 115.8 kB / 0.6845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.84e-05/0.143, allocations: 71.78 kB / 0.6846 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.578e-05/0.1431, allocations: 87.42 kB / 0.6846 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1433, allocations: 239.2 kB / 0.6849 GB, free: 4.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1434, allocations: 4 kB / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1434, allocations: 0 / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.1434, allocations: 0 / 0.6849 GB, free: 4.074 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.0004411/0.1438, allocations: 451 kB / 0.6853 GB, free: 3.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1439, allocations: 16.02 kB / 0.6853 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.1439, allocations: 16.66 kB / 0.6853 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.653e-05/0.144, allocations: 188.1 kB / 0.6855 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.144, allocations: 12.36 kB / 0.6855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.1441, allocations: 20.31 kB / 0.6855 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.1445, allocations: 359.2 kB / 0.6859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1445, allocations: 0 / 0.6859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1445, allocations: 7.984 kB / 0.6859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.1446, allocations: 64.28 kB / 0.686 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.1449, allocations: 221 kB / 0.6862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1461, allocations: 0.9908 MB / 0.6871 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1464, allocations: 212 kB / 0.6873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1465, allocations: 109.2 kB / 0.6874 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.1465, allocations: 4 kB / 0.6874 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1465, allocations: 34.56 kB / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.423e-06/0.1466, allocations: 0 / 0.6875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0004975/0.1471, allocations: 374.5 kB / 0.6878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1471, allocations: 55.41 kB / 0.6879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1472, allocations: 152 kB / 0.688 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1472, allocations: 25.7 kB / 0.6881 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.1473, allocations: 156.1 kB / 0.6882 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.1474, allocations: 130.1 kB / 0.6883 GB, free: 284 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.1475, allocations: 73.56 kB / 0.6884 GB, free: 204 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2314/0.3789, allocations: 330.8 kB / 0.6887 GB, free: 18.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.3791, allocations: 101.4 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3793, allocations: 234.3 kB / 0.689 GB, free: 18.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.3797, allocations: 393.5 kB / 0.6894 GB, free: 17.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3797, allocations: 5.312 kB / 0.6894 GB, free: 17.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004981/0.3802, allocations: 393.9 kB / 0.6898 GB, free: 17.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3802, allocations: 7.219 kB / 0.6898 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3803, allocations: 4.781 kB / 0.6898 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3803, allocations: 6.875 kB / 0.6898 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3804, allocations: 37.31 kB / 0.6898 GB, free: 17.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3805, allocations: 15.2 kB / 0.6899 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3806, allocations: 33.44 kB / 0.6899 GB, free: 17.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.3806, allocations: 27.31 kB / 0.6899 GB, free: 17.82 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.000111/0.3807, allocations: 158.4 kB / 0.6901 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.3808, allocations: 17.41 kB / 0.6901 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.3812, allocations: 284 kB / 0.6904 GB, free: 17.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.252e-05/0.3812, allocations: 29.55 kB / 0.6904 GB, free: 17.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3813, allocations: 1.312 kB / 0.6904 GB, free: 17.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3813, allocations: 2.531 kB / 0.6904 GB, free: 17.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.382, allocations: 0.6261 MB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3821, allocations: 4.719 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.3821, allocations: 8.688 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3821, allocations: 1.516 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3821, allocations: 7.875 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3821, allocations: 1.906 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.3821, allocations: 1.547 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.3825, allocations: 389.2 kB / 0.6914 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.3825, allocations: 114.4 kB / 0.6915 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3826, allocations: 2.141 kB / 0.6915 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.3827, allocations: 3.906 kB / 0.6915 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.3827, allocations: 18.47 kB / 0.6915 GB, free: 17.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.3827, allocations: 16.67 kB / 0.6915 GB, free: 17.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.073e-05/0.3828, allocations: 105.9 kB / 0.6916 GB, free: 17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3828, allocations: 1.5 kB / 0.6916 GB, free: 17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.3831, allocations: 54.28 kB / 0.6917 GB, free: 17 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.0002131/0.3834, allocations: 143.1 kB / 0.6918 GB, free: 16.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.3838, allocations: 287.1 kB / 0.6921 GB, free: 16.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3838, allocations: 4.984 kB / 0.6921 GB, free: 16.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3839, allocations: 121.8 kB / 0.6922 GB, free: 16.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.3842, allocations: 15.48 kB / 0.6922 GB, free: 16.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.3848, allocations: 466 kB / 0.6927 GB, free: 16.61 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.385, allocations: 0.7592 MB / 0.6934 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.3852, allocations: 76.44 kB / 0.6935 GB, free: 15.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.54e-05/0.3853, allocations: 42.73 kB / 0.6935 GB, free: 15.87 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3853, allocations: 0 / 0.6935 GB, free: 15.87 MB / 494.1 MB Notification: Performance of Templates: time 0.004299/0.3896, allocations: 1.542 MB / 0.695 GB, free: 15.74 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)