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.001259/0.001259, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 194.4 kB / 16.53 MB, free: 6.699 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 / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 283.1 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9051/0.9051, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 93.98 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.121, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002358/0.1234, allocations: 1.587 MB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009812/0.1244, allocations: 0.6742 MB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.1245, allocations: 4 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.1247, allocations: 63.94 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.1251, allocations: 171.4 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.192e-05/0.1251, allocations: 4 kB / 0.6827 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1252, allocations: 187.2 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.1253, allocations: 5.125 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1254, allocations: 75.69 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1255, allocations: 95.64 kB / 0.6831 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1256, allocations: 4 kB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.1258, allocations: 119.8 kB / 0.6832 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1258, allocations: 71.73 kB / 0.6832 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.1259, allocations: 79.48 kB / 0.6833 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1261, allocations: 231.2 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1262, allocations: 4 kB / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1262, allocations: 0 / 0.6835 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1262, allocations: 0 / 0.6835 GB, free: 13.21 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.0004344/0.1266, allocations: 466.9 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1267, allocations: 12.03 kB / 0.684 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.1267, allocations: 54.72 kB / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1268, allocations: 20.75 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.667e-05/0.1268, allocations: 188.1 kB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1269, allocations: 16.38 kB / 0.6843 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.1269, allocations: 16.36 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003784/0.1273, allocations: 358.4 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1273, allocations: 0 / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1273, allocations: 4 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.1274, allocations: 60.28 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.1277, allocations: 229.6 kB / 0.6849 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1288, allocations: 0.9948 MB / 0.6859 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1291, allocations: 208 kB / 0.6861 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.1292, allocations: 113.1 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1292, allocations: 3.984 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1292, allocations: 42.48 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.352e-06/0.1292, allocations: 4 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0004524/0.1297, allocations: 362.2 kB / 0.6866 GB, free: 9.871 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1297, allocations: 59.34 kB / 0.6866 GB, free: 9.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.1298, allocations: 147.6 kB / 0.6868 GB, free: 9.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1299, allocations: 33.69 kB / 0.6868 GB, free: 9.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.1299, allocations: 152.1 kB / 0.687 GB, free: 9.457 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.13, allocations: 130 kB / 0.6871 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.1301, allocations: 77.55 kB / 0.6872 GB, free: 9.246 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.1302, allocations: 338.8 kB / 0.6875 GB, free: 8.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.1303, allocations: 100.5 kB / 0.6876 GB, free: 8.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.1305, allocations: 234.8 kB / 0.6878 GB, free: 8.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.1309, allocations: 388 kB / 0.6882 GB, free: 8.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1309, allocations: 4 kB / 0.6882 GB, free: 8.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004376/0.1313, allocations: 400.9 kB / 0.6886 GB, free: 7.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1313, allocations: 4 kB / 0.6886 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1313, allocations: 4 kB / 0.6886 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1314, allocations: 8 kB / 0.6886 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1315, allocations: 39.86 kB / 0.6886 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1315, allocations: 11.98 kB / 0.6886 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1316, allocations: 31.59 kB / 0.6886 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.1317, allocations: 28.39 kB / 0.6887 GB, free: 7.566 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.0001062/0.1318, allocations: 162.3 kB / 0.6888 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.1318, allocations: 15.8 kB / 0.6888 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.1321, allocations: 283.2 kB / 0.6891 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/0.1322, allocations: 27.91 kB / 0.6891 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1322, allocations: 0 / 0.6891 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1322, allocations: 0 / 0.6891 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007214/0.133, allocations: 0.619 MB / 0.6897 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.133, allocations: 4 kB / 0.6897 GB, free: 6.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.133, allocations: 15.94 kB / 0.6898 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.133, allocations: 0 / 0.6898 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1331, allocations: 11.97 kB / 0.6898 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1331, allocations: 4 kB / 0.6898 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1331, allocations: 0 / 0.6898 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.1334, allocations: 383.4 kB / 0.6901 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.1334, allocations: 108.6 kB / 0.6902 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1335, allocations: 11.98 kB / 0.6903 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.1336, allocations: 0 / 0.6903 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1336, allocations: 19.95 kB / 0.6903 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1336, allocations: 16 kB / 0.6903 GB, free: 5.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.1337, allocations: 109.4 kB / 0.6904 GB, free: 5.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.1337, allocations: 0 / 0.6904 GB, free: 5.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.134, allocations: 63.86 kB / 0.6905 GB, free: 5.629 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.000672/0.1347, allocations: 0.9691 MB / 0.6914 GB, free: 4.633 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004087/0.1351, allocations: 314.6 kB / 0.6917 GB, free: 4.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1351, allocations: 4.125 kB / 0.6917 GB, free: 4.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.1353, allocations: 127.9 kB / 0.6918 GB, free: 4.199 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1355, allocations: 18.62 kB / 0.6918 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007816/0.1363, allocations: 0.5259 MB / 0.6924 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1365, allocations: 0.7562 MB / 0.6931 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.1368, allocations: 73.5 kB / 0.6932 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.1369, allocations: 83.39 kB / 0.6933 GB, free: 2.676 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1369, allocations: 3.938 kB / 0.6933 GB, free: 2.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/1.561, allocations: 3.748 MB / 0.6969 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.99, allocations: 13.95 kB / 0.6969 GB, free: 15.02 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)