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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, 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.006527/0.006528, allocations: 169.4 kB / 16.26 MB, free: 6.332 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.225/1.225, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001585/0.001584, allocations: 274.4 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8872/0.8872, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004406/0.0004406, allocations: 14.59 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1489, allocations: 88.55 MB / 0.6852 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.001401/0.1503, allocations: 1.304 MB / 0.6865 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1514, allocations: 0.6768 MB / 0.6872 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.1515, allocations: 0 / 0.6872 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.1517, allocations: 66 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.152, allocations: 151.5 kB / 0.6874 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.146e-05/0.152, allocations: 7.922 kB / 0.6874 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.1523, allocations: 319.2 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.1524, allocations: 9.719 kB / 0.6877 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1525, allocations: 71.7 kB / 0.6878 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1526, allocations: 104.8 kB / 0.6879 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1527, allocations: 8 kB / 0.6879 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.1529, allocations: 133.8 kB / 0.688 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.153, allocations: 71.8 kB / 0.6881 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.1531, allocations: 109.1 kB / 0.6882 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1533, allocations: 235.2 kB / 0.6884 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1533, allocations: 0 / 0.6884 GB, free: 11.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1533, allocations: 1.594 kB / 0.6884 GB, free: 11.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1533, allocations: 4 kB / 0.6884 GB, free: 11.75 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.0003818/0.1537, allocations: 427 kB / 0.6888 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1538, allocations: 13.09 kB / 0.6888 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/0.1538, allocations: 62.7 kB / 0.6889 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.1539, allocations: 16.75 kB / 0.6889 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.154, allocations: 184.8 kB / 0.6891 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.154, allocations: 8.359 kB / 0.6891 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1541, allocations: 19.59 kB / 0.6891 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004132/0.1545, allocations: 358.4 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1545, allocations: 0 / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1545, allocations: 11.98 kB / 0.6895 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.1546, allocations: 65.59 kB / 0.6895 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.1549, allocations: 217.7 kB / 0.6897 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.1561, allocations: 0.9952 MB / 0.6907 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.1564, allocations: 213.6 kB / 0.6909 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1565, allocations: 109.1 kB / 0.691 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.1565, allocations: 4 kB / 0.691 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1566, allocations: 42.44 kB / 0.691 GB, free: 8.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.332e-06/0.1566, allocations: 0 / 0.691 GB, free: 8.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005078/0.1571, allocations: 366.5 kB / 0.6914 GB, free: 8.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.1571, allocations: 63.34 kB / 0.6915 GB, free: 8.387 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.1572, allocations: 141.7 kB / 0.6916 GB, free: 8.238 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1573, allocations: 29.69 kB / 0.6916 GB, free: 8.203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.1573, allocations: 148.1 kB / 0.6918 GB, free: 8.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/0.1574, allocations: 134.1 kB / 0.6919 GB, free: 7.922 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.1575, allocations: 45.69 kB / 0.6919 GB, free: 7.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1576, allocations: 330.8 kB / 0.6922 GB, free: 7.539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1578, allocations: 108.5 kB / 0.6923 GB, free: 7.434 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.158, allocations: 234.6 kB / 0.6926 GB, free: 7.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.1584, allocations: 392 kB / 0.6929 GB, free: 6.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1584, allocations: 0 / 0.6929 GB, free: 6.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005027/0.1589, allocations: 396.7 kB / 0.6933 GB, free: 6.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1589, allocations: 10.03 kB / 0.6933 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.159, allocations: 4 kB / 0.6933 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.159, allocations: 4 kB / 0.6933 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1591, allocations: 44.39 kB / 0.6934 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1591, allocations: 8 kB / 0.6934 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1592, allocations: 31.67 kB / 0.6934 GB, free: 6.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.1593, allocations: 31.98 kB / 0.6935 GB, free: 6.191 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.0001571/0.1594, allocations: 154.3 kB / 0.6936 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.1595, allocations: 19.72 kB / 0.6936 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.1599, allocations: 283 kB / 0.6939 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.111e-05/0.16, allocations: 27.92 kB / 0.6939 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.16, allocations: 0 / 0.6939 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.16, allocations: 0 / 0.6939 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/0.1608, allocations: 0.6268 MB / 0.6945 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1608, allocations: 0 / 0.6945 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.919e-05/0.1608, allocations: 15.88 kB / 0.6945 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1608, allocations: 0 / 0.6945 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.1609, allocations: 8 kB / 0.6946 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1609, allocations: 0 / 0.6946 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1609, allocations: 0 / 0.6946 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.1612, allocations: 402.7 kB / 0.6949 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.1613, allocations: 104.7 kB / 0.695 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.1613, allocations: 0 / 0.695 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.1614, allocations: 3.984 kB / 0.695 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.1614, allocations: 11.98 kB / 0.6951 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1615, allocations: 19.98 kB / 0.6951 GB, free: 4.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.725e-05/0.1615, allocations: 105.5 kB / 0.6952 GB, free: 4.324 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1615, allocations: 3.938 kB / 0.6952 GB, free: 4.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.1619, allocations: 67.83 kB / 0.6952 GB, free: 4.254 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.0007312/0.1626, allocations: 0.9538 MB / 0.6962 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003633/0.163, allocations: 286.3 kB / 0.6964 GB, free: 2.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.163, allocations: 3.938 kB / 0.6964 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.1632, allocations: 119.9 kB / 0.6966 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1634, allocations: 13.88 kB / 0.6966 GB, free: 2.863 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009216/0.1643, allocations: 0.6286 MB / 0.6972 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.1647, allocations: 0.7642 MB / 0.6979 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.1649, allocations: 77.47 kB / 0.698 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.1651, allocations: 79.41 kB / 0.6981 GB, free: 1.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1651, allocations: 0 / 0.6981 GB, free: 1.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.201/1.366, allocations: 3.548 MB / 0.7015 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/1.367, allocations: 218.4 kB / 0.7018 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/3.554, allocations: 0 / 0.7018 GB, free: 13.61 MB / 0.4981 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/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)