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.001185/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001215/0.001215, allocations: 193.3 kB / 16.14 MB, free: 6.664 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.218/1.218, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001843/0.001843, allocations: 279 kB / 290.2 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8531/0.8531, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 97.58 kB / 0.5946 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1348, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002261/0.1371, allocations: 1.65 MB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.138, allocations: 0.6909 MB / 0.6818 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.1381, allocations: 4 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1383, allocations: 63.94 kB / 0.6819 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.1386, allocations: 147.5 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.012e-05/0.1386, allocations: 0 / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.1388, allocations: 331.1 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1389, allocations: 5.125 kB / 0.6823 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.139, allocations: 79.7 kB / 0.6824 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1391, allocations: 99.62 kB / 0.6825 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1392, allocations: 12 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.1394, allocations: 123.8 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.1394, allocations: 71.73 kB / 0.6827 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.1395, allocations: 83.47 kB / 0.6828 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1397, allocations: 235.2 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1398, allocations: 0 / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1398, allocations: 0 / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1398, allocations: 0 / 0.683 GB, free: 13.53 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.0004295/0.1402, allocations: 470.9 kB / 0.6835 GB, free: 13.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1402, allocations: 11.97 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.1403, allocations: 66.72 kB / 0.6835 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1403, allocations: 12.75 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.643e-05/0.1404, allocations: 188.1 kB / 0.6837 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1404, allocations: 8.375 kB / 0.6837 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1405, allocations: 16.36 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.1409, allocations: 358.4 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1409, allocations: 4 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.1409, allocations: 4 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.141, allocations: 60.28 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.1413, allocations: 233.6 kB / 0.6844 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1425, allocations: 0.9909 MB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1427, allocations: 211.9 kB / 0.6856 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.1428, allocations: 109.2 kB / 0.6857 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1428, allocations: 11.98 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.1429, allocations: 34.5 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.413e-06/0.1429, allocations: 0 / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0004916/0.1434, allocations: 374.1 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.1434, allocations: 55.34 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1435, allocations: 145.7 kB / 0.6863 GB, free: 9.961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1435, allocations: 33.62 kB / 0.6863 GB, free: 9.922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.1436, allocations: 156.1 kB / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.1437, allocations: 130.1 kB / 0.6866 GB, free: 9.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.1438, allocations: 77.55 kB / 0.6866 GB, free: 9.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1439, allocations: 334.8 kB / 0.687 GB, free: 9.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1441, allocations: 104.5 kB / 0.6871 GB, free: 9.117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.1442, allocations: 230.8 kB / 0.6873 GB, free: 8.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/0.1446, allocations: 384 kB / 0.6876 GB, free: 8.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1446, allocations: 4 kB / 0.6876 GB, free: 8.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004459/0.1451, allocations: 388.8 kB / 0.688 GB, free: 8.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1451, allocations: 14.33 kB / 0.688 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1451, allocations: 4 kB / 0.688 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1451, allocations: 4.531 kB / 0.688 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1452, allocations: 43.86 kB / 0.6881 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1453, allocations: 11.94 kB / 0.6881 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.1454, allocations: 39.58 kB / 0.6881 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.1454, allocations: 23.98 kB / 0.6882 GB, free: 7.883 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.00011/0.1455, allocations: 154.3 kB / 0.6883 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.1456, allocations: 15.81 kB / 0.6883 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.1459, allocations: 287 kB / 0.6886 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.84e-05/0.146, allocations: 23.92 kB / 0.6886 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.146, allocations: 4 kB / 0.6886 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.146, allocations: 7.984 kB / 0.6886 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007211/0.1467, allocations: 0.6229 MB / 0.6892 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1467, allocations: 0 / 0.6892 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.1468, allocations: 7.938 kB / 0.6892 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1468, allocations: 4 kB / 0.6892 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.1468, allocations: 11.97 kB / 0.6893 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1468, allocations: 0 / 0.6893 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1468, allocations: 0 / 0.6893 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1472, allocations: 386.7 kB / 0.6896 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.1472, allocations: 108.6 kB / 0.6897 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.1473, allocations: 7.922 kB / 0.6897 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.1473, allocations: 4 kB / 0.6897 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.1474, allocations: 15.97 kB / 0.6898 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1474, allocations: 19.98 kB / 0.6898 GB, free: 6.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.1475, allocations: 107.2 kB / 0.6899 GB, free: 6.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1475, allocations: 0 / 0.6899 GB, free: 6.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000317/0.1478, allocations: 59.92 kB / 0.6899 GB, free: 5.949 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.0007162/0.1485, allocations: 0.9615 MB / 0.6909 GB, free: 4.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.1488, allocations: 274.2 kB / 0.6911 GB, free: 4.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1489, allocations: 4 kB / 0.6911 GB, free: 4.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.149, allocations: 123.9 kB / 0.6913 GB, free: 4.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.1492, allocations: 18.08 kB / 0.6913 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.1501, allocations: 0.6223 MB / 0.6919 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.1503, allocations: 0.7643 MB / 0.6926 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.1506, allocations: 73.48 kB / 0.6927 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.1508, allocations: 79.41 kB / 0.6928 GB, free: 2.953 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1508, allocations: 0 / 0.6928 GB, free: 2.953 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.411/2.562, allocations: 3.626 MB / 0.6963 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/2.562, allocations: 223 kB / 0.6965 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.864/6.426, allocations: 7.188 kB / 0.6965 GB, free: 15.2 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)