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.001522/0.001522, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001707/0.001707, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.261/1.261, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 274.6 kB / 290.3 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002653, allocations: 95.11 kB / 0.5948 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2094, allocations: 86.98 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.003019/0.2124, allocations: 1.654 MB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2137, allocations: 0.6744 MB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.2138, allocations: 0 / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.2141, allocations: 63.94 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.2145, allocations: 151.5 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.471e-05/0.2146, allocations: 4 kB / 0.6822 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.2148, allocations: 183.2 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.2148, allocations: 9.125 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.215, allocations: 83.67 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2151, allocations: 99.62 kB / 0.6826 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.2152, allocations: 12 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.2154, allocations: 119.9 kB / 0.6827 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.2155, allocations: 71.72 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.2156, allocations: 79.48 kB / 0.6828 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.2158, allocations: 239.2 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.2158, allocations: 3.984 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2159, allocations: 0 / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2159, allocations: 4 kB / 0.6831 GB, free: 13.55 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.0005475/0.2164, allocations: 458.9 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.2165, allocations: 16.03 kB / 0.6835 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.2166, allocations: 66.64 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.2166, allocations: 16.75 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.2167, allocations: 180.1 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2168, allocations: 12.36 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2168, allocations: 16.38 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.2173, allocations: 358.4 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2173, allocations: 0 / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.2174, allocations: 11.98 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.2175, allocations: 64.27 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.2178, allocations: 217.7 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.2192, allocations: 0.9948 MB / 0.6854 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.2194, allocations: 215.9 kB / 0.6856 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.2196, allocations: 113.1 kB / 0.6857 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.2196, allocations: 0 / 0.6857 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.2196, allocations: 42.5 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.734e-06/0.2197, allocations: 0 / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005414/0.2202, allocations: 368.2 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.2203, allocations: 63.33 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2204, allocations: 147.8 kB / 0.6863 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2204, allocations: 25.7 kB / 0.6863 GB, free: 9.957 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.2205, allocations: 156.1 kB / 0.6865 GB, free: 9.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.079e-05/0.2206, allocations: 134 kB / 0.6866 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.2207, allocations: 77.56 kB / 0.6867 GB, free: 9.586 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2208, allocations: 338.8 kB / 0.687 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.221, allocations: 100.5 kB / 0.6871 GB, free: 9.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.2212, allocations: 230.8 kB / 0.6873 GB, free: 8.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004105/0.2216, allocations: 388 kB / 0.6877 GB, free: 8.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2216, allocations: 0 / 0.6877 GB, free: 8.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005007/0.2221, allocations: 392.8 kB / 0.6881 GB, free: 8.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2221, allocations: 8 kB / 0.6881 GB, free: 8.039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2222, allocations: 4 kB / 0.6881 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2222, allocations: 8.531 kB / 0.6881 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.2223, allocations: 47.86 kB / 0.6881 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2224, allocations: 7.938 kB / 0.6881 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.2225, allocations: 31.59 kB / 0.6882 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.2225, allocations: 35.97 kB / 0.6882 GB, free: 7.906 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.0001326/0.2227, allocations: 158.3 kB / 0.6883 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.2227, allocations: 11.81 kB / 0.6884 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.2231, allocations: 279 kB / 0.6886 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.041e-05/0.2232, allocations: 31.92 kB / 0.6887 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2232, allocations: 4 kB / 0.6887 GB, free: 7.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2232, allocations: 4 kB / 0.6887 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000857/0.2241, allocations: 0.6229 MB / 0.6893 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2241, allocations: 0 / 0.6893 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.2242, allocations: 15.92 kB / 0.6893 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2242, allocations: 0 / 0.6893 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2242, allocations: 4 kB / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2242, allocations: 0 / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2242, allocations: 0 / 0.6893 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.2246, allocations: 398.7 kB / 0.6897 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.2247, allocations: 104.6 kB / 0.6898 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.2247, allocations: 3.984 kB / 0.6898 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.2248, allocations: 7.984 kB / 0.6898 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.2248, allocations: 11.98 kB / 0.6898 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.2249, allocations: 16 kB / 0.6898 GB, free: 6.145 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.429e-05/0.225, allocations: 109.4 kB / 0.6899 GB, free: 6.039 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.225, allocations: 0 / 0.6899 GB, free: 6.039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.2254, allocations: 63.92 kB / 0.69 GB, free: 5.977 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.0008841/0.2263, allocations: 0.9576 MB / 0.6909 GB, free: 4.992 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005362/0.2268, allocations: 323.7 kB / 0.6912 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2268, allocations: 0 / 0.6912 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.227, allocations: 127.9 kB / 0.6913 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2272, allocations: 3.984 kB / 0.6913 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.2283, allocations: 0.6285 MB / 0.692 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.2287, allocations: 0.7601 MB / 0.6927 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003237/0.229, allocations: 81.48 kB / 0.6928 GB, free: 3.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.2292, allocations: 71.39 kB / 0.6928 GB, free: 2.941 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2292, allocations: 3.938 kB / 0.6929 GB, free: 2.938 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.2452, allocations: 3.682 MB / 0.6964 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.2454, allocations: 221.4 kB / 0.6967 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.049, allocations: 0 / 0.6967 GB, free: 15.15 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)