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.001647/0.001647, allocations: 108 kB / 15.6 MB, free: 132 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.001948/0.001948, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.331/1.331, 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.002166/0.002166, allocations: 286.9 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 90.14 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1287, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002643/0.1313, allocations: 1.591 MB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1324, allocations: 0.6684 MB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.1325, allocations: 0 / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1327, allocations: 73.64 kB / 0.6826 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.1331, allocations: 167.4 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.421e-05/0.1331, allocations: 7.938 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1333, allocations: 179.3 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.1334, allocations: 13.94 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1335, allocations: 79.67 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1336, allocations: 84.81 kB / 0.6831 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1337, allocations: 8 kB / 0.6831 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.1339, allocations: 129 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.134, allocations: 59.81 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.1341, allocations: 79.48 kB / 0.6833 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.1343, allocations: 236 kB / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1343, allocations: 0 / 0.6835 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1343, allocations: 4 kB / 0.6836 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1344, allocations: 0 / 0.6836 GB, free: 13.26 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.0004455/0.1348, allocations: 466.9 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1348, allocations: 8.031 kB / 0.684 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.1349, allocations: 66.66 kB / 0.6841 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.135, allocations: 12.75 kB / 0.6841 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1351, allocations: 188.1 kB / 0.6843 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1351, allocations: 12.36 kB / 0.6843 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1351, allocations: 12.38 kB / 0.6843 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.1355, allocations: 362.4 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1356, allocations: 0 / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1356, allocations: 11.98 kB / 0.6846 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.1357, allocations: 56.28 kB / 0.6847 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.136, allocations: 225.6 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.1373, allocations: 0.9948 MB / 0.6859 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.1376, allocations: 214 kB / 0.6861 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.1377, allocations: 109.2 kB / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1377, allocations: 4 kB / 0.6862 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.1378, allocations: 42.48 kB / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.1378, allocations: 0 / 0.6862 GB, free: 10.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005036/0.1383, allocations: 370.1 kB / 0.6866 GB, free: 9.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1383, allocations: 59.34 kB / 0.6866 GB, free: 9.852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1384, allocations: 151.6 kB / 0.6868 GB, free: 9.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1384, allocations: 25.7 kB / 0.6868 GB, free: 9.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.1385, allocations: 156.1 kB / 0.687 GB, free: 9.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.1386, allocations: 126.1 kB / 0.6871 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.1387, allocations: 77.56 kB / 0.6872 GB, free: 9.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.1388, allocations: 334.8 kB / 0.6875 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.1389, allocations: 100.5 kB / 0.6876 GB, free: 8.867 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1391, allocations: 234.7 kB / 0.6878 GB, free: 8.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.1395, allocations: 400 kB / 0.6882 GB, free: 8.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1396, allocations: 4 kB / 0.6882 GB, free: 8.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004715/0.14, allocations: 389.3 kB / 0.6886 GB, free: 7.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1401, allocations: 11.94 kB / 0.6886 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1401, allocations: 4 kB / 0.6886 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1401, allocations: 4 kB / 0.6886 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1402, allocations: 43.86 kB / 0.6886 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1403, allocations: 8 kB / 0.6886 GB, free: 7.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1404, allocations: 31.53 kB / 0.6887 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.1404, allocations: 35.97 kB / 0.6887 GB, free: 7.613 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.0001224/0.1406, allocations: 154.4 kB / 0.6888 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1406, allocations: 23.8 kB / 0.6889 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003541/0.141, allocations: 271.2 kB / 0.6891 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.021e-05/0.1411, allocations: 31.91 kB / 0.6891 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1411, allocations: 4 kB / 0.6891 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1411, allocations: 0 / 0.6891 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.1419, allocations: 0.6229 MB / 0.6898 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1419, allocations: 0 / 0.6898 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.1419, allocations: 7.938 kB / 0.6898 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1419, allocations: 8 kB / 0.6898 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.142, allocations: 7.984 kB / 0.6898 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.142, allocations: 0 / 0.6898 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.142, allocations: 0 / 0.6898 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.1423, allocations: 391.4 kB / 0.6902 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.1424, allocations: 108.6 kB / 0.6903 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1424, allocations: 0 / 0.6903 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.1425, allocations: 3.984 kB / 0.6903 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1425, allocations: 19.97 kB / 0.6903 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.1426, allocations: 16 kB / 0.6903 GB, free: 5.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.1426, allocations: 109.4 kB / 0.6904 GB, free: 5.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1427, allocations: 0 / 0.6904 GB, free: 5.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.143, allocations: 63.92 kB / 0.6905 GB, free: 5.688 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.00074/0.1438, allocations: 0.9652 MB / 0.6914 GB, free: 4.695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.1442, allocations: 315.7 kB / 0.6917 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1442, allocations: 5 kB / 0.6917 GB, free: 4.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1444, allocations: 123.9 kB / 0.6918 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1446, allocations: 14.64 kB / 0.6918 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.1455, allocations: 0.5298 MB / 0.6924 GB, free: 3.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1458, allocations: 0.7601 MB / 0.6931 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002824/0.1461, allocations: 81.48 kB / 0.6932 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.1462, allocations: 75.39 kB / 0.6932 GB, free: 2.734 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1462, allocations: 0 / 0.6932 GB, free: 2.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1647, allocations: 3.759 MB / 0.6969 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/7.048, allocations: 4.391 kB / 0.6969 GB, free: 15.08 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)