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: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7584/0.7584, allocations: 143.3 MB / 158.3 MB, free: 5.785 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.0009966/0.0009966, allocations: 175.8 kB / 191.5 MB, free: 5.766 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.294/1.294, allocations: 223.2 MB / 447.7 MB, free: 6.574 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.0009038/0.0009037, allocations: 100.2 kB / 0.5188 GB, free: 2.922 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 267.1 kB / 0.6005 GB, free: 49.01 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 16 kB / 0.6929 GB, free: 2.246 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2785, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4079, allocations: 110.7 MB / 0.8819 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.4082, allocations: 75.89 kB / 0.882 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01486/0.423, allocations: 5.365 MB / 0.8872 GB, free: 5.941 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4231, allocations: 8 kB / 0.8872 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4231, allocations: 0 / 0.8872 GB, free: 5.934 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.0003799/0.4235, allocations: 455.3 kB / 0.8876 GB, free: 5.441 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4235, allocations: 16.02 kB / 0.8876 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.457e-05/0.4236, allocations: 58.55 kB / 0.8877 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.4237, allocations: 23.72 kB / 0.8877 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.854e-05/0.4238, allocations: 183 kB / 0.8879 GB, free: 5.117 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.4238, allocations: 28.52 kB / 0.8879 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.4238, allocations: 24 kB / 0.888 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.4246, allocations: 494.8 kB / 0.8884 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4246, allocations: 3.984 kB / 0.8884 GB, free: 4.559 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.4246, allocations: 12 kB / 0.8884 GB, free: 4.547 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.4246, allocations: 8 kB / 0.8884 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.4263, allocations: 1.161 MB / 0.8896 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.428, allocations: 1.316 MB / 0.8909 GB, free: 1.988 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.4284, allocations: 247.7 kB / 0.8911 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.4385, allocations: 5.499 MB / 0.8965 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4385, allocations: 40.58 kB / 0.8965 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=30): time 3.396e-06/0.4386, allocations: 4 kB / 0.8965 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30): time 0.0005958/0.4392, allocations: 323.5 kB / 0.8968 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.4392, allocations: 55.41 kB / 0.8969 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.4394, allocations: 167.8 kB / 0.897 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4394, allocations: 33.7 kB / 0.8971 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.4395, allocations: 183.6 kB / 0.8972 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.4396, allocations: 102.5 kB / 0.8973 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.4396, allocations: 8 kB / 0.8973 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4397, allocations: 334.8 kB / 0.8977 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.4399, allocations: 101 kB / 0.8978 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.4402, allocations: 285.3 kB / 0.898 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.4404, allocations: 152.1 kB / 0.8982 GB, free: 9.656 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.4404, allocations: 7.953 kB / 0.8982 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006364/0.4411, allocations: 440.7 kB / 0.8986 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4411, allocations: 8 kB / 0.8986 GB, free: 9.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.4411, allocations: 12.81 kB / 0.8986 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4411, allocations: 11.94 kB / 0.8986 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.4415, allocations: 131.8 kB / 0.8988 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.4416, allocations: 11.94 kB / 0.8988 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.4418, allocations: 51.52 kB / 0.8988 GB, free: 8.988 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.4419, allocations: 51.98 kB / 0.8989 GB, free: 8.938 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 () * 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.0001606/0.442, allocations: 170.2 kB / 0.899 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.4421, allocations: 19.77 kB / 0.8991 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.4426, allocations: 331.2 kB / 0.8994 GB, free: 8.418 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.4426, allocations: 4 kB / 0.8994 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4426, allocations: 0 / 0.8994 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4427, allocations: 0 / 0.8994 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.443, allocations: 289.4 kB / 0.8997 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.443, allocations: 0 / 0.8997 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.4432, allocations: 87.83 kB / 0.8997 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.4433, allocations: 4 kB / 0.8997 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.4433, allocations: 19.97 kB / 0.8998 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4433, allocations: 0 / 0.8998 GB, free: 7.973 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4433, allocations: 8 kB / 0.8998 GB, free: 7.965 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.4438, allocations: 359.2 kB / 0.9001 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.4438, allocations: 100.8 kB / 0.9002 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.4439, allocations: 7.953 kB / 0.9002 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.444, allocations: 8 kB / 0.9002 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.4441, allocations: 31.95 kB / 0.9003 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/0.4441, allocations: 39.98 kB / 0.9003 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.397e-05/0.4442, allocations: 131.2 kB / 0.9004 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4442, allocations: 0 / 0.9004 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004387/0.4447, allocations: 87.84 kB / 0.9005 GB, free: 7.184 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 () * 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.0009116/0.4456, allocations: 0.976 MB / 0.9015 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004573/0.4461, allocations: 277.2 kB / 0.9017 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4461, allocations: 4 kB / 0.9017 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.4463, allocations: 139.7 kB / 0.9019 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.4464, allocations: 15.89 kB / 0.9019 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.4474, allocations: 0.585 MB / 0.9024 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.4478, allocations: 0.7605 MB / 0.9032 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007346/0.4485, allocations: 234.7 kB / 0.9034 GB, free: 4.105 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.4488, allocations: 99.38 kB / 0.9035 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of SimCode: time 2.414e-06/0.4488, allocations: 0 / 0.9035 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2425/0.6913, allocations: 5.168 MB / 0.9085 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/0.6915, allocations: 197 kB / 0.9087 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.282, allocations: 4.781 kB / 0.9087 GB, free: 129.4 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)