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.00103/0.00103, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007586/0.007586, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 270.8 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003925, allocations: 18 kB / 0.5986 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 88.53 MB / 0.6851 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.001506/0.1441, allocations: 1.313 MB / 0.6864 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009986/0.1451, allocations: 0.684 MB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.1451, allocations: 1.188 kB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.1454, allocations: 60 kB / 0.6871 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.1457, allocations: 151.5 kB / 0.6873 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.198e-05/0.1457, allocations: 4.531 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.146, allocations: 328.5 kB / 0.6876 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.1461, allocations: 5.125 kB / 0.6876 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1462, allocations: 63.77 kB / 0.6876 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1463, allocations: 112.8 kB / 0.6878 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1463, allocations: 8 kB / 0.6878 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.1466, allocations: 125.6 kB / 0.6879 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.498e-05/0.1467, allocations: 71.73 kB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.011e-05/0.1468, allocations: 109.2 kB / 0.6881 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.147, allocations: 239.2 kB / 0.6883 GB, free: 11.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.147, allocations: 0 / 0.6883 GB, free: 11.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.147, allocations: 2.656 kB / 0.6883 GB, free: 11.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.147, allocations: 0 / 0.6883 GB, free: 11.84 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.0004274/0.1475, allocations: 427.1 kB / 0.6887 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1475, allocations: 8.031 kB / 0.6887 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.1476, allocations: 24.59 kB / 0.6887 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1477, allocations: 188.1 kB / 0.6889 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1477, allocations: 13.34 kB / 0.6889 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1477, allocations: 12.36 kB / 0.6889 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.1482, allocations: 361 kB / 0.6893 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1482, allocations: 4 kB / 0.6893 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.1482, allocations: 4.578 kB / 0.6893 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.1483, allocations: 66.84 kB / 0.6893 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.1486, allocations: 217.7 kB / 0.6895 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.1499, allocations: 1.005 MB / 0.6905 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1501, allocations: 205.7 kB / 0.6907 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.1503, allocations: 109.2 kB / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.1503, allocations: 0.875 kB / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1503, allocations: 43.2 kB / 0.6909 GB, free: 8.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.442e-06/0.1503, allocations: 1.375 kB / 0.6909 GB, free: 8.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.000503/0.1509, allocations: 366.5 kB / 0.6912 GB, free: 8.617 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.1509, allocations: 55.41 kB / 0.6913 GB, free: 8.551 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.151, allocations: 148.2 kB / 0.6914 GB, free: 8.398 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.151, allocations: 33.69 kB / 0.6914 GB, free: 8.359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.1511, allocations: 152.7 kB / 0.6916 GB, free: 8.207 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.939e-05/0.1512, allocations: 130.1 kB / 0.6917 GB, free: 8.078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1513, allocations: 41.69 kB / 0.6918 GB, free: 8.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1514, allocations: 330.8 kB / 0.6921 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.1515, allocations: 104.5 kB / 0.6922 GB, free: 7.598 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.1518, allocations: 242.6 kB / 0.6924 GB, free: 7.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.1522, allocations: 388 kB / 0.6928 GB, free: 6.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1522, allocations: 0 / 0.6928 GB, free: 6.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004975/0.1527, allocations: 396.8 kB / 0.6932 GB, free: 6.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1527, allocations: 8 kB / 0.6932 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1527, allocations: 4 kB / 0.6932 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1527, allocations: 4 kB / 0.6932 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1529, allocations: 40.44 kB / 0.6932 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1529, allocations: 11.94 kB / 0.6932 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.153, allocations: 35.59 kB / 0.6933 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.153, allocations: 24 kB / 0.6933 GB, free: 6.355 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.0001301/0.1532, allocations: 162.3 kB / 0.6934 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1532, allocations: 19.72 kB / 0.6934 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.1536, allocations: 285 kB / 0.6937 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.282e-05/0.1537, allocations: 19.98 kB / 0.6937 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1537, allocations: 7.938 kB / 0.6937 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1537, allocations: 3.984 kB / 0.6938 GB, free: 5.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/0.1545, allocations: 0.6268 MB / 0.6944 GB, free: 5.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1545, allocations: 3.938 kB / 0.6944 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.1546, allocations: 8 kB / 0.6944 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1546, allocations: 7.938 kB / 0.6944 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1546, allocations: 7.984 kB / 0.6944 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1546, allocations: 0 / 0.6944 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1546, allocations: 0 / 0.6944 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.155, allocations: 390.7 kB / 0.6948 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.86e-05/0.1551, allocations: 104.7 kB / 0.6949 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1551, allocations: 3.938 kB / 0.6949 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.1552, allocations: 0 / 0.6949 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.1552, allocations: 19.95 kB / 0.6949 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.1552, allocations: 20 kB / 0.6949 GB, free: 4.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.139e-05/0.1553, allocations: 103.2 kB / 0.695 GB, free: 4.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1553, allocations: 0 / 0.695 GB, free: 4.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003548/0.1557, allocations: 67.89 kB / 0.6951 GB, free: 4.41 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.0002344/0.1559, allocations: 139.1 kB / 0.6952 GB, free: 4.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.1563, allocations: 280.8 kB / 0.6955 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1563, allocations: 4.188 kB / 0.6955 GB, free: 3.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.1565, allocations: 127.9 kB / 0.6956 GB, free: 3.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1567, allocations: 8 kB / 0.6956 GB, free: 3.859 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.1574, allocations: 0.56 MB / 0.6961 GB, free: 3.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1577, allocations: 0.7642 MB / 0.6969 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.158, allocations: 73.5 kB / 0.697 GB, free: 2.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.1581, allocations: 39.41 kB / 0.697 GB, free: 2.371 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1581, allocations: 4 kB / 0.697 GB, free: 2.367 MB / 494.1 MB Notification: Performance of Templates: time 0.003992/0.1621, allocations: 1.503 MB / 0.6985 GB, free: 0.8711 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)